comparison 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
comparison
equal deleted inserted replaced
1082:3cb73e8d6122 1083:8e0280986710
136 /* We're ready to go now */ 136 /* We're ready to go now */
137 sessinitdone = 1; 137 sessinitdone = 1;
138 138
139 /* exchange identification, version etc */ 139 /* exchange identification, version etc */
140 send_session_identification(); 140 send_session_identification();
141
142 kexfirstinitialise(); /* initialise the kex state */
141 143
142 /* start off with key exchange */ 144 /* start off with key exchange */
143 send_msg_kexinit(); 145 send_msg_kexinit();
144 146
145 /* Run the main for loop. NULL is for the dispatcher - only the client 147 /* Run the main for loop. NULL is for the dispatcher - only the client