Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
599:8220862baae8 | 605:53c21d4ec98a |
---|---|
171 | 171 |
172 #if defined(DROPBEAR_CLIENT) || defined(ENABLE_SVR_PUBKEY_AUTH) | 172 #if defined(DROPBEAR_CLIENT) || defined(ENABLE_SVR_PUBKEY_AUTH) |
173 #define DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */ | 173 #define DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */ |
174 #endif | 174 #endif |
175 | 175 |
176 /* Changing this is inadvisable, it appears to have problems | |
177 * with flushing compressed data */ | |
178 #define DROPBEAR_ZLIB_MEM_LEVEL 8 | |
179 | |
176 #if defined(ENABLE_SVR_PASSWORD_AUTH) && defined(ENABLE_SVR_PAM_AUTH) | 180 #if defined(ENABLE_SVR_PASSWORD_AUTH) && defined(ENABLE_SVR_PAM_AUTH) |
177 #error "You can't turn on PASSWORD and PAM auth both at once. Fix it in options.h" | 181 #error "You can't turn on PASSWORD and PAM auth both at once. Fix it in options.h" |
178 #endif | 182 #endif |
179 | 183 |
180 #if defined(DROPBEAR_RANDOM_DEV) && defined(DROPBEAR_PRNGD_SOCKET) | 184 #if defined(DROPBEAR_RANDOM_DEV) && defined(DROPBEAR_PRNGD_SOCKET) |