summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeng Tan <mtan@wallix.com>2018-10-17 14:50:08 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-19 10:20:53 +0200
commit4ea46eecce9f4e676150fe27fec34e1570b70ace (patch)
tree2d5b0948a2efd2a2d0ce02d602276affd7e59f0b
parent009ca5c9ddd8f27d6397b605f1ff5c1d7c36c8a4 (diff)
downloadlibssh-4ea46eecce9f4.tar.gz
libssh-4ea46eecce9f4.tar.xz
libssh-4ea46eecce9f4.zip
server: Set correct state after sending INFO_REQUEST (Kbd Interactive)
Signed-off-by: Meng Tan <mtan@wallix.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index e14636ec..84cc4f7a 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1039,6 +1039,7 @@ int ssh_message_auth_interactive_request(ssh_message msg, const char *name,
msg->session->kbdint->prompts = NULL;
msg->session->kbdint->echo = NULL;
}
+ msg->session->auth.state = SSH_AUTH_STATE_INFO;
return rc;
}