summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-23 07:14:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-23 07:14:16 +0000
commit09b50641ff656b22cf1f24e43d8504a1a7f3afec (patch)
tree287484eb2d40c1dd174f1073a16dd959952ac25a /common-session.c
parent8977fbbd97d30ed5a064e2f514abfeb22b7f05dd (diff)
parent18bfb4dd4812ab1e30bb4b2ecb6674ea2d368322 (diff)
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421 --HG-- extra : convert_revision : e9b7d4eda64d70aff736f48cc8dea680b153139b
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c
index fce301a..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,8 +106,12 @@ void common_session_init(int sock, runopts *opts) {
ses.dh_K = NULL;
ses.remoteident = NULL;
+ ses.authdone = 0;
+
ses.chantypes = NULL;
+ ses.allowprivport = 0;
+
TRACE(("leave session_init"));
}