Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
#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;
return NULL;
}
- state->state = SCHANNEL_STATE_UPDATE_1;
state->initiator = initiator;
state->seq_num = 0;
state->creds = netlogon_creds_copy(state, creds);