Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/common-algo.c Thu Sep 10 11:12:31 2009 +0000 +++ b/common-algo.c Fri Sep 11 14:02:04 2009 +0000 @@ -168,11 +168,16 @@ {NULL, 0, NULL, 0, NULL} }; -algo_type sshcompress[] = { #ifndef DISABLE_ZLIB +algo_type ssh_compress[] = { {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1, NULL}, {"[email protected]", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL}, + {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, + {NULL, 0, NULL, 0, NULL} +}; #endif + +algo_type ssh_nocompress[] = { {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, {NULL, 0, NULL, 0, NULL} };