libcli/auth/schannel: make struct schannel_state private
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Aug 2013 11:37:54 +0000 (13:37 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 10 Aug 2013 07:19:02 +0000 (09:19 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/auth/schannel.h
libcli/auth/schannel_sign.c

index 271b5bb6ba5c8eabfc82fc969c4f7c4c64358ea3..c53d68e679bb022d6b1138435b899439211921d5 100644 (file)
 
 #include "libcli/auth/libcli_auth.h"
 #include "libcli/auth/schannel_state.h"
-
-enum schannel_position {
-       SCHANNEL_STATE_START = 0,
-       SCHANNEL_STATE_UPDATE_1
-};
-
-struct schannel_state {
-       enum schannel_position state;
-       uint64_t seq_num;
-       bool initiator;
-       struct netlogon_creds_CredentialState *creds;
-};
-
 #include "libcli/auth/schannel_proto.h"
index 518a6a90a4f3dd2294409fba1f52a3fd30457443..88a6e1ec6165919aa96b72f3687cee5b421016f5 100644 (file)
 #include "../libcli/auth/schannel.h"
 #include "../lib/crypto/crypto.h"
 
+enum schannel_position {
+       SCHANNEL_STATE_START = 0,
+       SCHANNEL_STATE_UPDATE_1
+};
+
+struct schannel_state {
+       enum schannel_position state;
+       uint64_t seq_num;
+       bool initiator;
+       struct netlogon_creds_CredentialState *creds;
+};
+
 #define SETUP_SEQNUM(state, buf, initiator) do { \
        uint8_t *_buf = buf; \
        uint32_t _seq_num_low = (state)->seq_num & UINT32_MAX; \