Get rid of unused "none" cipher option

This commit is contained in:
Matt Johnston 2020-05-26 20:05:31 +08:00
parent 9e25854b41
commit 73aa4f0de9

View File

@ -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'");