mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
libcli/auth/schannel: remove unused schannel_position
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
4c978b68d9
commit
57bcbb9c50
@ -24,13 +24,7 @@
|
||||
#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;
|
||||
@ -58,7 +52,6 @@ struct schannel_state *netsec_create_state(TALLOC_CTX *mem_ctx,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
state->state = SCHANNEL_STATE_UPDATE_1;
|
||||
state->initiator = initiator;
|
||||
state->seq_num = 0;
|
||||
state->creds = netlogon_creds_copy(state, creds);
|
||||
|
Loading…
x
Reference in New Issue
Block a user