comparison svr-session.c @ 726:78eda530c000

send out our kexinit packet before blocking to read the SSH version string
author Matt Johnston <matt@ucc.asn.au>
date Sun, 31 Mar 2013 00:40:00 +0800
parents 167fdc091c05
children 70811267715c cd201dc2da9a
comparison
equal deleted inserted replaced
725:49f68a7b7a55 726:78eda530c000
112 112
113 /* We're ready to go now */ 113 /* We're ready to go now */
114 sessinitdone = 1; 114 sessinitdone = 1;
115 115
116 /* exchange identification, version etc */ 116 /* exchange identification, version etc */
117 session_identification(); 117 send_session_identification();
118 118
119 /* start off with key exchange */ 119 /* start off with key exchange */
120 send_msg_kexinit(); 120 send_msg_kexinit();
121 121
122 /* Run the main for loop. NULL is for the dispatcher - only the client 122 /* Run the main for loop. NULL is for the dispatcher - only the client