summaryrefslogtreecommitdiffhomepage
path: root/common-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
commitef151888fbef7f33f2140da579945b7fcb83151c (patch)
tree12a1b34f5364eb86d38ed24f9c6db59bf4a0d7f0 /common-kex.c
parentba15bbfe33f4d6174526a03fda1b3b543a0b1d12 (diff)
requirenext fixup for firstkexfollows
Diffstat (limited to 'common-kex.c')
-rw-r--r--common-kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-kex.c b/common-kex.c
index 530de0b..ba06e4f 100644
--- a/common-kex.c
+++ b/common-kex.c
@@ -542,7 +542,7 @@ void recv_msg_kexinit() {
buf_putstring(ses.kexhashbuf,
ses.transkexinit->data, ses.transkexinit->len);
- ses.requirenext = SSH_MSG_KEXDH_INIT;
+ ses.requirenext[0] = SSH_MSG_KEXDH_INIT;
}
buf_free(ses.transkexinit);