diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-02-08 18:38:24 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-02-08 18:38:24 +0100 |
commit | de309c51a7e27f97fc2f8381fe9779795788e54f (patch) | |
tree | 6c22d35ce1dc30921e8a7951c1711d195bc0cecc /tests/torture.c | |
parent | f128ffd88b0a739e42a0e8cead04d7f60fc478e6 (diff) | |
download | libssh-de309c51a7e27f97fc2f8381fe9779795788e54f.tar.gz libssh-de309c51a7e27f97fc2f8381fe9779795788e54f.tar.xz libssh-de309c51a7e27f97fc2f8381fe9779795788e54f.zip |
torture: Fix ssh version detection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/torture.c')
-rw-r--r-- | tests/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/torture.c b/tests/torture.c index e7e92553..dd958c69 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -922,7 +922,7 @@ static void torture_setup_create_sshd_config(void **state) "\n" "UsePAM yes\n" "\n" -#if OPENSSH_VERSION_MAJOR == 6 && OPENSSH_VERSION_MINOR >= 7 +#if (OPENSSH_VERSION_MAJOR == 6 && OPENSSH_VERSION_MINOR >= 7) || (OPENSSH_VERSION_MAJOR >= 7) "HostKeyAlgorithms +ssh-dss\n" "Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc\n" "KexAlgorithms +diffie-hellman-group1-sha1" |