summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-26 20:05:31 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-26 20:05:31 +0800
commit80522b5d800db2b35020ba2f5c515b66a57b087b (patch)
tree2a6160272473fffe2d15034a9cc5e8cfa455b243
parenta00bf2fee662d78d96b610ad2e6bb86c2e5b55f9 (diff)
downloaddropbear-80522b5d800db2b35020ba2f5c515b66a57b087b.tar.gz
Get rid of unused "none" cipher option
-rw-r--r--common-runopts.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common-runopts.c b/common-runopts.c
index 62b9471..2762e1a 100644
--- a/common-runopts.c
+++ b/common-runopts.c
@@ -76,12 +76,6 @@ parse_ciphers_macs()
dropbear_exit(".");
}
- if (strcmp(opts.cipher_list, "none") == 0)
- {
- /* Encryption is required during authentication */
- opts.cipher_list = "none,aes128-ctr";
- }
-
if (check_user_algos(opts.cipher_list, sshciphers, "cipher") == 0)
{
dropbear_exit("No valid ciphers specified for '-c'");