summaryrefslogtreecommitdiff
path: root/svr-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-14 23:16:16 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-14 23:16:16 +0800
commit3af63f0577920a9ccb466e5f7aa0325690be4d57 (patch)
tree634d44911b40b5969a89a038fa575d2920e08439 /svr-kex.c
parentfbafc470d9f5b9942cc930f8c4cbbc7c1a37380f (diff)
downloaddropbear-3af63f0577920a9ccb466e5f7aa0325690be4d57.tar.gz
requirenext fixup for firstkexfollows
Diffstat (limited to 'svr-kex.c')
-rw-r--r--svr-kex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/svr-kex.c b/svr-kex.c
index abd7986..e56f082 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -61,7 +61,8 @@ void recv_msg_kexdh_init() {
mp_clear(&dh_e);
send_msg_newkeys();
- ses.requirenext = SSH_MSG_NEWKEYS;
+ ses.requirenext[0] = SSH_MSG_NEWKEYS;
+ ses.requirenext[1] = 0;
TRACE(("leave recv_msg_kexdh_init"))
}