diff 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
line wrap: on
line diff
--- a/cli-kex.c	Fri Jan 17 21:42:32 2014 +0800
+++ b/cli-kex.c	Thu Jan 23 21:56:35 2014 +0800
@@ -86,8 +86,6 @@
 
 	cli_ses.param_kex_algo = ses.newkeys->algo_kex;
 	encrypt_packet();
-	ses.requirenext[0] = SSH_MSG_KEXDH_REPLY;
-	ses.requirenext[1] = SSH_MSG_KEXINIT;
 }
 
 /* Handle a diffie-hellman key exchange reply. */