comparison common-session.c @ 22:c1e5d9195402

merge of abac2150ee4f4031a98016241fbd136d24fed127 and ffa047425729e478a5b49b1ab0f8ec71c08a1421
author Matt Johnston <matt@ucc.asn.au>
date Wed, 23 Jun 2004 07:14:16 +0000
parents d7cc5b484a2e
children 469950e86d0f
comparison
equal deleted inserted replaced
14:5ae28f6101c1 22:c1e5d9195402
74 ses.readbuf = NULL; 74 ses.readbuf = NULL;
75 ses.decryptreadbuf = NULL; 75 ses.decryptreadbuf = NULL;
76 ses.payload = NULL; 76 ses.payload = NULL;
77 ses.recvseq = 0; 77 ses.recvseq = 0;
78 78
79 ses.expecting = SSH_MSG_KEXINIT; 79 ses.requirenext = SSH_MSG_KEXINIT;
80 ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ 80 ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */
81 ses.ignorenext = 0; 81 ses.ignorenext = 0;
82 82
83 /* set all the algos to none */ 83 /* set all the algos to none */
84 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context)); 84 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context));
104 ses.kexhashbuf = NULL; 104 ses.kexhashbuf = NULL;
105 ses.transkexinit = NULL; 105 ses.transkexinit = NULL;
106 ses.dh_K = NULL; 106 ses.dh_K = NULL;
107 ses.remoteident = NULL; 107 ses.remoteident = NULL;
108 108
109 ses.authdone = 0;
110
109 ses.chantypes = NULL; 111 ses.chantypes = NULL;
112
113 ses.allowprivport = 0;
110 114
111 115
112 TRACE(("leave session_init")); 116 TRACE(("leave session_init"));
113 } 117 }
114 118