diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-11-22 10:48:37 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-30 16:22:13 +0100 |
commit | 968fdf4e188b57b6b9c2d49cae6a1617070374cc (patch) | |
tree | 3de913b084fe87cf62a095d8baa52dfcc79e6db8 | |
parent | bc91fa98eaafbe9b414c120044705fde441edeeb (diff) | |
download | libssh-968fdf4e188b57b6b9c2d49cae6a1617070374cc.tar.gz libssh-968fdf4e188b57b6b9c2d49cae6a1617070374cc.tar.xz libssh-968fdf4e188b57b6b9c2d49cae6a1617070374cc.zip |
tests: Do not require base RSA type for SHA2 extension whitelist
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | tests/client/torture_hostkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/torture_hostkey.c b/tests/client/torture_hostkey.c index 928137d5..a930a293 100644 --- a/tests/client/torture_hostkey.c +++ b/tests/client/torture_hostkey.c @@ -163,7 +163,7 @@ static void torture_hostkey_ecdsa(void **state) { static void torture_hostkey_rsa_sha256(void **state) { struct torture_state *s = *state; ssh_session session = s->ssh.session; - char rsa[] = "rsa-sha2-256,ssh-rsa"; + char rsa[] = "rsa-sha2-256"; int rc; @@ -182,7 +182,7 @@ static void torture_hostkey_rsa_sha256(void **state) { static void torture_hostkey_rsa_sha512(void **state) { struct torture_state *s = *state; ssh_session session = s->ssh.session; - char rsa[] = "rsa-sha2-512,ssh-rsa"; + char rsa[] = "rsa-sha2-512"; int rc; |