diff options
author | Jakub Jelen <jjelen@redhat.com> | 2020-05-04 13:02:26 +0200 |
---|---|---|
committer | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2020-08-13 17:35:09 +0200 |
commit | 645106a1cabde92108b77552e33d92f82cf64cfe (patch) | |
tree | 9e4f19693e8a8f0bfa29b0e9d8814efa265ea277 | |
parent | 6672a457fb61b412b642a3130789da2026cdd84e (diff) | |
download | libssh-645106a1cabde92108b77552e33d92f82cf64cfe.tar.gz libssh-645106a1cabde92108b77552e33d92f82cf64cfe.tar.xz libssh-645106a1cabde92108b77552e33d92f82cf64cfe.zip |
tests: Enable all CASignatureAlgorithms as SHA1 certificates are now disabled in OpenSSH 8.2p1
This option is unknown to older OpenSSH versions (for example CentOS 7
with OpenSSH 7.4) so we can not add it everywhere.
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 44de453b227115c0d60926302901ae0869ef5d1e)
-rw-r--r-- | tests/torture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c index 188e1427..a501f838 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -632,6 +632,9 @@ static void torture_setup_create_sshd_config(void **state, bool pam) "\n" /* add all supported algorithms */ "HostKeyAlgorithms " OPENSSH_KEYS "\n" +#if OPENSSH_VERSION_MAJOR == 8 && OPENSSH_VERSION_MINOR >= 2 + "CASignatureAlgorithms " OPENSSH_KEYS "\n" +#endif "Ciphers " OPENSSH_CIPHERS "\n" "KexAlgorithms " OPENSSH_KEX "\n" "MACs " OPENSSH_MACS "\n" |