diff 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
line wrap: on
line diff
--- a/common-algo.c	Tue Sep 23 16:02:51 2008 +0000
+++ b/common-algo.c	Mon Sep 29 02:23:04 2008 +0000
@@ -124,6 +124,7 @@
 algo_type sshcompress[] = {
 #ifndef DISABLE_ZLIB
 	{"zlib", DROPBEAR_COMP_ZLIB, NULL, 1},
+	{"[email protected]", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1},
 #endif
 	{"none", DROPBEAR_COMP_NONE, NULL, 1},
 	{NULL, 0, NULL, 0}