mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Get rid of unused "none" cipher option
This commit is contained in:
parent
9e25854b41
commit
73aa4f0de9
@ -76,12 +76,6 @@ parse_ciphers_macs()
|
|||||||
dropbear_exit(".");
|
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)
|
if (check_user_algos(opts.cipher_list, sshciphers, "cipher") == 0)
|
||||||
{
|
{
|
||||||
dropbear_exit("No valid ciphers specified for '-c'");
|
dropbear_exit("No valid ciphers specified for '-c'");
|
||||||
|
Loading…
Reference in New Issue
Block a user