Mercurial > dropbear
comparison common-algo.c @ 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 | e12c9225acbd |
children | a98a2138364a |
comparison
equal
deleted
inserted
replaced
574:b6665c1eac43 | 575:f9b5dc0cba61 |
---|---|
166 {"hmac-md5", 0, &dropbear_md5, 1, NULL}, | 166 {"hmac-md5", 0, &dropbear_md5, 1, NULL}, |
167 #endif | 167 #endif |
168 {NULL, 0, NULL, 0, NULL} | 168 {NULL, 0, NULL, 0, NULL} |
169 }; | 169 }; |
170 | 170 |
171 algo_type sshcompress[] = { | |
172 #ifndef DISABLE_ZLIB | 171 #ifndef DISABLE_ZLIB |
172 algo_type ssh_compress[] = { | |
173 {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1, NULL}, | 173 {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1, NULL}, |
174 {"[email protected]", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL}, | 174 {"[email protected]", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL}, |
175 #endif | 175 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, |
176 {NULL, 0, NULL, 0, NULL} | |
177 }; | |
178 #endif | |
179 | |
180 algo_type ssh_nocompress[] = { | |
176 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, | 181 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, |
177 {NULL, 0, NULL, 0, NULL} | 182 {NULL, 0, NULL, 0, NULL} |
178 }; | 183 }; |
179 | 184 |
180 algo_type sshhostkey[] = { | 185 algo_type sshhostkey[] = { |