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