summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/spnego.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c
index b0135dca56..b680fe170e 100644
--- a/source4/libcli/auth/spnego.c
+++ b/source4/libcli/auth/spnego.c
@@ -346,7 +346,8 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
mechType = spnego.negTokenInit.mechTypes;
for (i=0; mechType && mechType[i]; i++) {
- nt_status = gensec_client_start(&spnego_state->sub_sec_security);
+ nt_status = gensec_subcontext_start(gensec_security,
+ &spnego_state->sub_sec_security);
if (!NT_STATUS_IS_OK(nt_status)) {
break;
}