Mercurial > dropbear
diff common-runopts.c @ 1685:b9a466b43de0
Get rid of unused "none" cipher option
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 26 May 2020 20:05:31 +0800 |
parents | 750ec4ec4cbe |
children | f8d8af12ac14 |
line wrap: on
line diff
--- a/common-runopts.c Tue May 26 19:57:28 2020 +0800 +++ b/common-runopts.c Tue May 26 20:05:31 2020 +0800 @@ -76,12 +76,6 @@ 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'");