aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-09-10 14:45:47 +0200
committerJakub Jelen <jjelen@redhat.com>2018-10-02 16:34:23 +0200
commit652acbeb21188b1db0c94ccc0504e3342f9a81f7 (patch)
tree9297de3a7a034902338781922d25fda9f56211dc
parent96e04d4691263649031a4300c9d41803fc4bc0bf (diff)
downloadlibssh-652acbeb21188b1db0c94ccc0504e3342f9a81f7.tar.gz
libssh-652acbeb21188b1db0c94ccc0504e3342f9a81f7.tar.xz
libssh-652acbeb21188b1db0c94ccc0504e3342f9a81f7.zip
torture: Enable old cipher and kex algos in sshd
We need to test them, so enable them in the sshd. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry-picked from commit dd0d04ae)
-rw-r--r--tests/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c
index b4d73c6b..af0d167a 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -802,6 +802,9 @@ static void torture_setup_create_sshd_config(void **state)
"UsePrivilegeSeparation no\n"
"StrictModes no\n"
"\n"
+ "Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc\n"
+ "KexAlgorithms +diffie-hellman-group1-sha1\n"
+ "\n"
"AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES\n"
"AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT\n"
"AcceptEnv LC_IDENTIFICATION LC_ALL LC_LIBSSH\n"