diff sysoptions.h @ 605:53c21d4ec98a

- 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)
author Matt Johnston <matt@ucc.asn.au>
date Mon, 28 Feb 2011 13:51:27 +0000
parents 7ec26a5b92e7
children e4991659fc10
line wrap: on
line diff
--- a/sysoptions.h	Thu Feb 24 14:21:36 2011 +0000
+++ b/sysoptions.h	Mon Feb 28 13:51:27 2011 +0000
@@ -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