Make sure kexfirstinitialise is called early enough

This commit is contained in:
Matt Johnston
2015-05-03 00:00:35 +08:00
parent cbdc1f0753
commit 0e1dee828a
3 changed files with 4 additions and 2 deletions

View File

@@ -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);