diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-02-27 15:20:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-02 07:07:10 +0100 |
commit | 93261a118447d06581ed154bf11ca574038d7a00 (patch) | |
tree | 38e01caf260a31aabec2dadaaa106f2531eab93e /source4/auth/gensec | |
parent | f7acb36784fbc8fed72c70d51ef0fbb8493edf8f (diff) | |
download | samba-93261a118447d06581ed154bf11ca574038d7a00.tar.gz samba-93261a118447d06581ed154bf11ca574038d7a00.tar.bz2 samba-93261a118447d06581ed154bf11ca574038d7a00.zip |
s4:auth/gensec/schannel: initialize struct schannel_state to zero
metze
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r-- | source4/auth/gensec/schannel.c | 3 |
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; |