Mercurial > dropbear
diff common-session.c @ 34:e2a1eaa19f22
Client mostly works up to password auth
Need to rework algo-choosing etc, since server is now broken.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 28 Jul 2004 16:44:16 +0000 |
parents | f789045062e6 |
children | 18eccbfb9641 |
line wrap: on
line diff
--- a/common-session.c Tue Jul 27 16:30:46 2004 +0000 +++ b/common-session.c Wed Jul 28 16:44:16 2004 +0000 @@ -75,6 +75,7 @@ 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));