From bce8d567053232debd6ec490af5a7d27e1160f39 Mon Sep 17 00:00:00 2001 From: Meng Tan Date: Thu, 25 Oct 2018 17:06:06 +0200 Subject: [PATCH] gssapi: Set correct state after sending GSSAPI_RESPONSE (select mechanism OID) Signed-off-by: Meng Tan Reviewed-by: Andreas Schneider --- src/gssapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gssapi.c b/src/gssapi.c index c7c8b2f0..d043ab75 100644 --- a/src/gssapi.c +++ b/src/gssapi.c @@ -120,6 +120,7 @@ static int ssh_gssapi_send_response(ssh_session session, ssh_string oid){ ssh_set_error_oom(session); return SSH_ERROR; } + session->auth.state = SSH_AUTH_STATE_GSSAPI_TOKEN; ssh_packet_send(session); SSH_LOG(SSH_LOG_PACKET,