comparison 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
comparison
equal deleted inserted replaced
1082:3cb73e8d6122 1083:8e0280986710
122 sessinitdone = 1; 122 sessinitdone = 1;
123 123
124 /* Exchange identification */ 124 /* Exchange identification */
125 send_session_identification(); 125 send_session_identification();
126 126
127 kexfirstinitialise(); /* initialise the kex state */
128
127 send_msg_kexinit(); 129 send_msg_kexinit();
128 130
129 session_loop(cli_sessionloop); 131 session_loop(cli_sessionloop);
130 132
131 /* Not reached */ 133 /* Not reached */