comparison session.h @ 575:f9b5dc0cba61

- Disable compression for non-final multihops
author Matt Johnston <matt@ucc.asn.au>
date Fri, 11 Sep 2009 14:02:04 +0000
parents 8fd0ac8c8cab
children 00eca37e47e8
comparison
equal deleted inserted replaced
574:b6665c1eac43 575:f9b5dc0cba61
158 mp_int * dh_K; /* SSH_MSG_KEXDH_REPLY and sending SSH_MSH_NEWKEYS */ 158 mp_int * dh_K; /* SSH_MSG_KEXDH_REPLY and sending SSH_MSH_NEWKEYS */
159 unsigned char hash[SHA1_HASH_SIZE]; /* the hash*/ 159 unsigned char hash[SHA1_HASH_SIZE]; /* the hash*/
160 buffer* kexhashbuf; /* session hash buffer calculated from various packets*/ 160 buffer* kexhashbuf; /* session hash buffer calculated from various packets*/
161 buffer* transkexinit; /* the kexinit packet we send should be kept so we 161 buffer* transkexinit; /* the kexinit packet we send should be kept so we
162 can add it to the hash when generating keys */ 162 can add it to the hash when generating keys */
163
164 /* Enables/disables compression */
165 algo_type *compress_algos;
163 166
164 /* a list of queued replies that should be sent after a KEX has 167 /* a list of queued replies that should be sent after a KEX has
165 concluded (ie, while dataallowed was unset)*/ 168 concluded (ie, while dataallowed was unset)*/
166 struct packetlist *reply_queue_head, *reply_queue_tail; 169 struct packetlist *reply_queue_head, *reply_queue_tail;
167 170