summaryrefslogtreecommitdiffhomepage
path: root/common-session.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-session.c
parentba15bbfe33f4d6174526a03fda1b3b543a0b1d12 (diff)
requirenext fixup for firstkexfollows
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c
index 6b357bf..9df0f3d 100644
--- a/common-session.c
+++ b/common-session.c
@@ -82,7 +82,7 @@ void common_session_init(int sock_in, int sock_out) {
initqueue(&ses.writequeue);
- ses.requirenext = SSH_MSG_KEXINIT;
+ ses.requirenext[0] = SSH_MSG_KEXINIT;
ses.dataallowed = 1; /* we can send data until we actually
send the SSH_MSG_KEXINIT */
ses.ignorenext = 0;