summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-session.c')
-rw-r--r--cli-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c
index 815f5b6..7019e93 100644
--- a/cli-session.c
+++ b/cli-session.c
@@ -124,6 +124,8 @@ void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection
/* Exchange identification */
send_session_identification();
+ kexfirstinitialise(); /* initialise the kex state */
+
send_msg_kexinit();
session_loop(cli_sessionloop);