comparison cli-kex.c @ 885:19ce21bd198a

Fix failing rekeying when we receive a still-in-flight packet
author Matt Johnston <matt@ucc.asn.au>
date Thu, 23 Jan 2014 21:56:35 +0800
parents 220f55d540ae
children cbc73a5aefb0
comparison
equal deleted inserted replaced
884:dd0bd9231fc2 885:19ce21bd198a
84 break; 84 break;
85 } 85 }
86 86
87 cli_ses.param_kex_algo = ses.newkeys->algo_kex; 87 cli_ses.param_kex_algo = ses.newkeys->algo_kex;
88 encrypt_packet(); 88 encrypt_packet();
89 ses.requirenext[0] = SSH_MSG_KEXDH_REPLY;
90 ses.requirenext[1] = SSH_MSG_KEXINIT;
91 } 89 }
92 90
93 /* Handle a diffie-hellman key exchange reply. */ 91 /* Handle a diffie-hellman key exchange reply. */
94 void recv_msg_kexdh_reply() { 92 void recv_msg_kexdh_reply() {
95 93