auth/spnego: make sure a fatal error or the final success make the state as SPNEGO_DONE
authorStefan Metzmacher <metze@samba.org>
Wed, 10 May 2017 15:12:14 +0000 (17:12 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 21 May 2017 19:05:09 +0000 (21:05 +0200)
commitb713da052b69606c436ad5d8a4a095b8a3160e6d
tree191a8e29c1cc303e095880639a40568503bb6f30
parent06fa3ae313bb36da87f056cc993f201369a30c2b
auth/spnego: make sure a fatal error or the final success make the state as SPNEGO_DONE

This means any further gensec_update() will fail with
NT_STATUS_INVALID_PARAMETER.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/gensec/spnego.c