1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

auth/spnego: remove unused out_mem_ctx = spnego_state fallback in gensec_spnego_update()

The only caller never passes NULL.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2017-06-27 18:05:04 +02:00 committed by Andreas Schneider
parent 5f4eed37ea
commit d6bb8785cd

View File

@ -627,15 +627,10 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
DATA_BLOB unwrapped_out = data_blob_null;
struct spnego_data spnego_out;
struct spnego_data spnego;
ssize_t len;
*out = data_blob_null;
if (!out_mem_ctx) {
out_mem_ctx = spnego_state;
}
/* and switch into the state machine */
switch (spnego_state->state_position) {