summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-20 23:52:49 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-20 23:52:49 +0800
commit845ad0be39511e46f28e3f7153466c88c7d2e316 (patch)
tree7206330253d752818ddf3761b9890edfe0d14396 /options.h
parent2259ce4cdfee91409ad346089df50f76a3451496 (diff)
Fix "-c none" so that it allows aes during authentication
Default for options.h shouldn't allow "none"
Diffstat (limited to 'options.h')
-rw-r--r--options.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/options.h b/options.h
index cfb6172..c52d6c2 100644
--- a/options.h
+++ b/options.h
@@ -104,7 +104,7 @@ much traffic. */
* this could be safe security-wise, though make sure you know what
* you're doing. Anyone can see everything that goes over the wire, so
* the only safe auth method is public key. */
-#define DROPBEAR_NONE_CIPHER
+/* #define DROPBEAR_NONE_CIPHER */
/* Message Integrity - at least one required.
* Protocol RFC requires sha1 and recommends sha1-96.
@@ -126,10 +126,8 @@ much traffic. */
/* You can also disable integrity. Don't bother disabling this if you're
* still using a cipher, it's relatively cheap. If you disable this it's dead
- * simple to run arbitrary commands on the remote host. Beware.
- * Note again, for the client you will have to disable other hashes above
- * to use this. */
-#define DROPBEAR_NONE_INTEGRITY
+ * simple to run arbitrary commands on the remote host. Beware. */
+/* #define DROPBEAR_NONE_INTEGRITY */
/* Hostkey/public key algorithms - at least one required, these are used
* for hostkey as well as for verifying signatures with pubkey auth.