summaryrefslogtreecommitdiff
path: root/libcli/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-02 15:42:21 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-10 09:19:02 +0200
commit57bcbb9c50f0a0252110a1e04a2883b511cd9165 (patch)
tree0b44a251fd3780278bd359386396fbd427dba875 /libcli/auth
parent4c978b68d9a87001f625c10421e7d4cc140b4554 (diff)
downloadsamba-57bcbb9c50f0a0252110a1e04a2883b511cd9165.tar.gz
samba-57bcbb9c50f0a0252110a1e04a2883b511cd9165.tar.bz2
samba-57bcbb9c50f0a0252110a1e04a2883b511cd9165.zip
libcli/auth/schannel: remove unused schannel_position
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/schannel_sign.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libcli/auth/schannel_sign.c b/libcli/auth/schannel_sign.c
index 88a6e1ec61..9502cba6bb 100644
--- a/libcli/auth/schannel_sign.c
+++ b/libcli/auth/schannel_sign.c
@@ -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);