diff cli-session.c @ 1083:8e0280986710

Make sure kexfirstinitialise is called early enough
author Matt Johnston <matt@ucc.asn.au>
date Sun, 03 May 2015 00:00:35 +0800
parents 01eea88963f3
children bb3a03feb31f aaf576b27a10
line wrap: on
line diff
--- a/cli-session.c	Sat May 02 22:59:55 2015 +0800
+++ b/cli-session.c	Sun May 03 00:00:35 2015 +0800
@@ -124,6 +124,8 @@
 	/* Exchange identification */
 	send_session_identification();
 
+	kexfirstinitialise(); /* initialise the kex state */
+
 	send_msg_kexinit();
 
 	session_loop(cli_sessionloop);