Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
33:f789045062e6 | 34:e2a1eaa19f22 |
---|---|
73 ses.recvseq = 0; | 73 ses.recvseq = 0; |
74 | 74 |
75 ses.requirenext = SSH_MSG_KEXINIT; | 75 ses.requirenext = SSH_MSG_KEXINIT; |
76 ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ | 76 ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ |
77 ses.ignorenext = 0; | 77 ses.ignorenext = 0; |
78 ses.lastpacket = 0; | |
78 | 79 |
79 /* set all the algos to none */ | 80 /* set all the algos to none */ |
80 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context)); | 81 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context)); |
81 ses.newkeys = NULL; | 82 ses.newkeys = NULL; |
82 ses.keys->recv_algo_crypt = &dropbear_nocipher; | 83 ses.keys->recv_algo_crypt = &dropbear_nocipher; |