diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-06-23 07:14:16 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-06-23 07:14:16 +0000 |
commit | f291e5ebc4efee6f7a4af0dde29ca4dc66be2daa (patch) | |
tree | 287484eb2d40c1dd174f1073a16dd959952ac25a /common-session.c | |
parent | 70bea919542ace8d27529e1afafa6e073fb06a92 (diff) | |
parent | 8627060b279637f0eaa1d7b18cb5e2eaf65fa782 (diff) | |
download | dropbear-f291e5ebc4efee6f7a4af0dde29ca4dc66be2daa.tar.gz |
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c index 71e9e68..b7793f9 100644 --- a/common-session.c +++ b/common-session.c @@ -76,7 +76,7 @@ void common_session_init(int sock, runopts *opts) { ses.payload = NULL; ses.recvseq = 0; - ses.expecting = SSH_MSG_KEXINIT; + ses.requirenext = SSH_MSG_KEXINIT; ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ ses.ignorenext = 0; @@ -106,6 +106,8 @@ void common_session_init(int sock, runopts *opts) { ses.dh_K = NULL; ses.remoteident = NULL; + ses.authdone = 0; + ses.chantypes = NULL; ses.allowprivport = 0; |