From 73aa4f0de998441d33d4d7be57ef2ba58f739013 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 26 May 2020 20:05:31 +0800 Subject: Get rid of unused "none" cipher option --- common-runopts.c | 6 ------ 1 file changed, 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'"); -- cgit v1.2.3