summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-07-28 16:44:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-07-28 16:44:16 +0000
commit2d82f73484e588e9367657a25331afd4aa0bf976 (patch)
treeba72557d5adc76bb9bf156c5e54e29bcd66df9d2 /common-session.c
parenta76b1ba06868c1743837a5267efcbf2e07c9d81d (diff)
Client mostly works up to password auth
Need to rework algo-choosing etc, since server is now broken. --HG-- extra : convert_revision : 458dc4eed0e885e7c91633d4781d3348213a0e19
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c
index 93e7c74..79166f4 100644
--- a/common-session.c
+++ b/common-session.c
@@ -75,6 +75,7 @@ void common_session_init(int sock, char* remotehost) {
ses.requirenext = SSH_MSG_KEXINIT;
ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */
ses.ignorenext = 0;
+ ses.lastpacket = 0;
/* set all the algos to none */
ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context));