summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/schannel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 4c846c02c8..2465e53bff 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -236,13 +236,12 @@ static NTSTATUS schannel_start(struct gensec_security *gensec_security)
{
struct schannel_state *state;
- state = talloc(gensec_security, struct schannel_state);
+ state = talloc_zero(gensec_security, struct schannel_state);
if (!state) {
return NT_STATUS_NO_MEMORY;
}
state->state = SCHANNEL_STATE_START;
- state->seq_num = 0;
gensec_security->private_data = state;
return NT_STATUS_OK;