summaryrefslogtreecommitdiffhomepage
path: root/svr-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 /svr-kex.c
parent8128b15e4157abc382f360eaf95c0fabefe5bc61 (diff)
requirenext doesn't need two values
Diffstat (limited to 'svr-kex.c')
-rw-r--r--svr-kex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/svr-kex.c b/svr-kex.c
index e42a67c..337c377 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -80,8 +80,7 @@ void recv_msg_kexdh_init() {
}
send_msg_newkeys();
- ses.requirenext[0] = SSH_MSG_NEWKEYS;
- ses.requirenext[1] = 0;
+ ses.requirenext = SSH_MSG_NEWKEYS;
TRACE(("leave recv_msg_kexdh_init"))
}