diff options
-rw-r--r-- | libcli/auth/schannel.h | 13 | ||||
-rw-r--r-- | libcli/auth/schannel_sign.c | 12 |
2 files changed, 12 insertions, 13 deletions
diff --git a/libcli/auth/schannel.h b/libcli/auth/schannel.h index 271b5bb6ba..c53d68e679 100644 --- a/libcli/auth/schannel.h +++ b/libcli/auth/schannel.h @@ -22,17 +22,4 @@ #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" diff --git a/libcli/auth/schannel_sign.c b/libcli/auth/schannel_sign.c index 518a6a90a4..88a6e1ec61 100644 --- a/libcli/auth/schannel_sign.c +++ b/libcli/auth/schannel_sign.c @@ -24,6 +24,18 @@ #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; \ |