summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-02-28 13:51:27 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-02-28 13:51:27 +0000
commitd634b502cff62bea8c1f6665f12b860af5542bb2 (patch)
tree61fd020adca41f8ac8307437e049eb19785e7f91 /sysoptions.h
parent84c51f933c8ff0ef7f360fe900ac030eb56fbf4e (diff)
- Don't allow setting memLevel since that doesn't work properly
- Better handling of the case where compressing makes the data larger (possibly only happens when memLevel is adjusted, but better to be safe) --HG-- extra : convert_revision : b31879a384d3bf8cbcbe2ed731d7d79d49799b1d
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysoptions.h b/sysoptions.h
index 9be5aca..e01ec1f 100644
--- a/sysoptions.h
+++ b/sysoptions.h
@@ -173,6 +173,10 @@
#define DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */
#endif
+/* Changing this is inadvisable, it appears to have problems
+ * with flushing compressed data */
+#define DROPBEAR_ZLIB_MEM_LEVEL 8
+
#if defined(ENABLE_SVR_PASSWORD_AUTH) && defined(ENABLE_SVR_PAM_AUTH)
#error "You can't turn on PASSWORD and PAM auth both at once. Fix it in options.h"
#endif