auth/spnego: don't call gensec_spnego_server_response() with a fatal error
authorStefan Metzmacher <metze@samba.org>
Mon, 17 Jul 2017 19:54:51 +0000 (21:54 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 25 Jul 2017 11:51:11 +0000 (13:51 +0200)
commiteedb8105507ed14ed19da185dcf32537dc39c7fe
tree51dd5540f2b4f8ed81689bfa74a32c7cc909d73f
parent3e6daa30f5594c25da190773be79003eef9b157a
auth/spnego: don't call gensec_spnego_server_response() with a fatal error

It doesn't make sense to produce an output token without
returning OK or MORE_PROCESSING_REQUIRED.

Even in v4-0-test we had gensec_spnego_update_wrapper()
which only passed the constructed output token to the caller
with OK or MORE_PROCESSING_REQUIRED.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
auth/gensec/spnego.c