summaryrefslogtreecommitdiffhomepage
path: root/cli-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2014-01-23 22:25:52 +0800
committerMatt Johnston <matt@ucc.asn.au>2014-01-23 22:25:52 +0800
commit55a0c5068ff7cccf4938f354c6acf97dcfd7d3f3 (patch)
tree684437415ca2d198c2ce959978bd9c5fe3b4cc5a /cli-kex.c
parent8128b15e4157abc382f360eaf95c0fabefe5bc61 (diff)
requirenext doesn't need two values
Diffstat (limited to 'cli-kex.c')
-rw-r--r--cli-kex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli-kex.c b/cli-kex.c
index a4fa39a..a590157 100644
--- a/cli-kex.c
+++ b/cli-kex.c
@@ -177,8 +177,7 @@ void recv_msg_kexdh_reply() {
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"))
}