summaryrefslogtreecommitdiffstats
path: root/auth/gensec
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-12-13 20:05:11 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-03-27 00:36:31 +0100
commitb2b239a854110893669d4802b2cc2e52327dac1c (patch)
treebdcdffaaed4802cc6f2ef26a6ddbe6769f9de57a /auth/gensec
parent79f5275db2c1acd5adaee187c3953fbc5e2aff6c (diff)
downloadsamba-b2b239a854110893669d4802b2cc2e52327dac1c.tar.gz
samba-b2b239a854110893669d4802b2cc2e52327dac1c.tar.xz
samba-b2b239a854110893669d4802b2cc2e52327dac1c.zip
auth/gensec: make use of gensec_update_ev() in spnego.c
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/gensec')
-rw-r--r--auth/gensec/spnego.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c
index d90a50cb5e..6878b4fd46 100644
--- a/auth/gensec/spnego.c
+++ b/auth/gensec/spnego.c
@@ -402,7 +402,7 @@ static NTSTATUS gensec_spnego_server_try_fallback(struct gensec_security *gensec
if (!NT_STATUS_IS_OK(nt_status)) {
return nt_status;
}
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
ev, out_mem_ctx, in, out);
return nt_status;
}
@@ -472,7 +472,7 @@ static NTSTATUS gensec_spnego_parse_negTokenInit(struct gensec_security *gensec_
break;
}
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
out_mem_ctx,
ev,
unwrapped_in,
@@ -526,7 +526,7 @@ static NTSTATUS gensec_spnego_parse_negTokenInit(struct gensec_security *gensec_
spnego_state->neg_oid = all_sec[i].oid;
/* only get the helping start blob for the first OID */
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
out_mem_ctx,
ev,
null_data_blob,
@@ -642,7 +642,7 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
/* In the client, try and produce the first (optimistic) packet */
if (spnego_state->state_position == SPNEGO_CLIENT_START) {
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
out_mem_ctx,
ev,
null_data_blob,
@@ -781,7 +781,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
switch (spnego_state->state_position) {
case SPNEGO_FALLBACK:
- return gensec_update(spnego_state->sub_sec_security, ev,
+ return gensec_update_ev(spnego_state->sub_sec_security, ev,
out_mem_ctx, in, out);
case SPNEGO_SERVER_START:
{
@@ -942,7 +942,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
return NT_STATUS_INVALID_PARAMETER;
}
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
out_mem_ctx, ev,
spnego.negTokenTarg.responseToken,
&unwrapped_out);
@@ -1037,7 +1037,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
return nt_status;
}
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
out_mem_ctx, ev,
spnego.negTokenTarg.responseToken,
&unwrapped_out);
@@ -1067,7 +1067,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
} else {
bool new_spnego = false;
- nt_status = gensec_update(spnego_state->sub_sec_security,
+ nt_status = gensec_update_ev(spnego_state->sub_sec_security,
out_mem_ctx, ev,
spnego.negTokenTarg.responseToken,
&unwrapped_out);