Mercurial > dropbear
comparison common-session.c @ 775:2f1c199b6e4b
requirenext fixup for firstkexfollows
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 14 Apr 2013 23:16:16 +0800 |
parents | 685d05f1cc5c |
children | 7dcb46da72d9 |
comparison
equal
deleted
inserted
replaced
774:e8b2ca448928 | 775:2f1c199b6e4b |
---|---|
80 ses.payload = NULL; | 80 ses.payload = NULL; |
81 ses.recvseq = 0; | 81 ses.recvseq = 0; |
82 | 82 |
83 initqueue(&ses.writequeue); | 83 initqueue(&ses.writequeue); |
84 | 84 |
85 ses.requirenext = SSH_MSG_KEXINIT; | 85 ses.requirenext[0] = SSH_MSG_KEXINIT; |
86 ses.dataallowed = 1; /* we can send data until we actually | 86 ses.dataallowed = 1; /* we can send data until we actually |
87 send the SSH_MSG_KEXINIT */ | 87 send the SSH_MSG_KEXINIT */ |
88 ses.ignorenext = 0; | 88 ses.ignorenext = 0; |
89 ses.lastpacket = 0; | 89 ses.lastpacket = 0; |
90 ses.reply_queue_head = NULL; | 90 ses.reply_queue_head = NULL; |