diff svr-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 3fb883a6aa81
children 43a8ea69b24c
line wrap: on
line diff
--- a/svr-session.c	Sat May 02 22:59:55 2015 +0800
+++ b/svr-session.c	Sun May 03 00:00:35 2015 +0800
@@ -138,6 +138,8 @@
 
 	/* exchange identification, version etc */
 	send_session_identification();
+	
+	kexfirstinitialise(); /* initialise the kex state */
 
 	/* start off with key exchange */
 	send_msg_kexinit();