libcli/auth/schannel: remove unused schannel_position
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Aug 2013 13:42:21 +0000 (15:42 +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_sign.c

index 88a6e1ec6165919aa96b72f3687cee5b421016f5..9502cba6bb17fab126158ad98a4adcd2767c0d47 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;
@@ -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);