diff svr-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 6c7a15668d5a
children fd2e8bbb0333
line wrap: on
line diff
--- a/svr-kex.c	Thu Jan 23 21:56:35 2014 +0800
+++ b/svr-kex.c	Thu Jan 23 22:25:52 2014 +0800
@@ -80,8 +80,7 @@
 	}
 
 	send_msg_newkeys();
-	ses.requirenext[0] = SSH_MSG_NEWKEYS;
-	ses.requirenext[1] = 0;
+	ses.requirenext = SSH_MSG_NEWKEYS;
 	TRACE(("leave recv_msg_kexdh_init"))
 }