diff options
author | Jakub Jelen <jjelen@redhat.com> | 2017-11-21 16:09:01 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-12-15 11:59:19 +0100 |
commit | b92c499626f8714d8c13d745c8902aefe963b44e (patch) | |
tree | 7e92f8d13c1b564b769a7991abe3777c34018cda /tests/torture.c | |
parent | 9fce33a2e3322762d4bc2d0d764df142e0f8c860 (diff) | |
download | libssh-b92c499626f8714d8c13d745c8902aefe963b44e.tar.gz libssh-b92c499626f8714d8c13d745c8902aefe963b44e.tar.xz libssh-b92c499626f8714d8c13d745c8902aefe963b44e.zip |
tests: Do not test blowfish ciphers with OpenSSH 7.6 and newer
Diffstat (limited to 'tests/torture.c')
-rw-r--r-- | tests/torture.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c index 545fc2e3..e8868b05 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -899,7 +899,11 @@ static void torture_setup_create_sshd_config(void **state) "\n" #if (OPENSSH_VERSION_MAJOR == 6 && OPENSSH_VERSION_MINOR >= 7) || (OPENSSH_VERSION_MAJOR >= 7) "HostKeyAlgorithms +ssh-dss\n" +# if (OPENSSH_VERSION_MAJOR == 7 && OPENSSH_VERSION_MINOR < 6) "Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc\n" +# else + "Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc\n" +# endif "KexAlgorithms +diffie-hellman-group1-sha1" #else "Ciphers 3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr," |