Mercurial > dropbear
comparison common-algo.c @ 501:d58c478bd399
Add support for [email protected] delayed compression.
Are still advertising 'zlib' for the server, need to allow
delayed-only as an option
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 29 Sep 2008 02:23:04 +0000 |
parents | 0e69e948caba |
children | 43bbe17d6ba0 |
comparison
equal
deleted
inserted
replaced
499:f3ca5ebc319a | 501:d58c478bd399 |
---|---|
122 }; | 122 }; |
123 | 123 |
124 algo_type sshcompress[] = { | 124 algo_type sshcompress[] = { |
125 #ifndef DISABLE_ZLIB | 125 #ifndef DISABLE_ZLIB |
126 {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1}, | 126 {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1}, |
127 {"[email protected]", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1}, | |
127 #endif | 128 #endif |
128 {"none", DROPBEAR_COMP_NONE, NULL, 1}, | 129 {"none", DROPBEAR_COMP_NONE, NULL, 1}, |
129 {NULL, 0, NULL, 0} | 130 {NULL, 0, NULL, 0} |
130 }; | 131 }; |
131 | 132 |