summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-01-28 21:38:27 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-01-28 21:38:27 +0800
commita7a79d569a41b282da63c159fc8032b4472a2a73 (patch)
tree8eb7d57e766727bd1c8c720f2093f41adefa880d /common-algo.c
parent6165f53fcd6be9bb06fc3cd29e8640bb14d95111 (diff)
Disable non-delayed zlib for server
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common-algo.c b/common-algo.c
index 95c53f4..9abc330 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -205,6 +205,12 @@ algo_type ssh_compress[] = {
{"none", DROPBEAR_COMP_NONE, NULL, 1, NULL},
{NULL, 0, NULL, 0, NULL}
};
+
+algo_type ssh_delaycompress[] = {
+ {"zlib@openssh.com", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL},
+ {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL},
+ {NULL, 0, NULL, 0, NULL}
+};
#endif
algo_type ssh_nocompress[] = {