aboutsummaryrefslogtreecommitdiff
path: root/src/gssapi.c
diff options
context:
space:
mode:
authorMeng Tan <mtan@wallix.com>2018-10-25 17:06:06 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-26 07:28:20 +0200
commitbce8d567053232debd6ec490af5a7d27e1160f39 (patch)
tree69c2ba61c6a194303a5441a5babda7c8fd88694c /src/gssapi.c
parentced05eb6dbbd9a20f0b96a454203a8d158157123 (diff)
downloadlibssh-bce8d567053232debd6ec490af5a7d27e1160f39.tar.gz
libssh-bce8d567053232debd6ec490af5a7d27e1160f39.tar.xz
libssh-bce8d567053232debd6ec490af5a7d27e1160f39.zip
gssapi: Set correct state after sending GSSAPI_RESPONSE (select mechanism OID)
Signed-off-by: Meng Tan <mtan@wallix.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/gssapi.c')
-rw-r--r--src/gssapi.c1
1 files changed, 1 insertions, 0 deletions
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,