comparison cli-kex.c @ 886:cbc73a5aefb0

requirenext doesn't need two values
author Matt Johnston <matt@ucc.asn.au>
date Thu, 23 Jan 2014 22:25:52 +0800
parents 19ce21bd198a
children c45d65392c1a
comparison
equal deleted inserted replaced
885:19ce21bd198a 886:cbc73a5aefb0
175 175
176 sign_key_free(hostkey); 176 sign_key_free(hostkey);
177 hostkey = NULL; 177 hostkey = NULL;
178 178
179 send_msg_newkeys(); 179 send_msg_newkeys();
180 ses.requirenext[0] = SSH_MSG_NEWKEYS; 180 ses.requirenext = SSH_MSG_NEWKEYS;
181 ses.requirenext[1] = 0;
182 TRACE(("leave recv_msg_kexdh_init")) 181 TRACE(("leave recv_msg_kexdh_init"))
183 } 182 }
184 183
185 static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen, 184 static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen,
186 const char* algoname) { 185 const char* algoname) {