1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

auth/gensec: clear the update_busy_ptr in gensec_subcontext_start()

This is required to support async subcontexts.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2017-06-14 16:21:56 +02:00
parent 6ebcba49d0
commit 67dd9ceee6

View File

@ -616,6 +616,7 @@ _PUBLIC_ NTSTATUS gensec_subcontext_start(TALLOC_CTX *mem_ctx,
(**gensec_security) = *parent; (**gensec_security) = *parent;
(*gensec_security)->ops = NULL; (*gensec_security)->ops = NULL;
(*gensec_security)->private_data = NULL; (*gensec_security)->private_data = NULL;
(*gensec_security)->update_busy_ptr = NULL;
(*gensec_security)->subcontext = true; (*gensec_security)->subcontext = true;
(*gensec_security)->want_features = parent->want_features; (*gensec_security)->want_features = parent->want_features;