changeset 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 d5d25ce2a2ed
children 83d48276885b
files common-runopts.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
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'");