aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-11-22 10:48:37 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-30 18:57:38 +0100
commit230a43728802dcbf3d8a20adbf714ea896bd12dc (patch)
tree8bb65353e76ce4cbad591ab7d97185940ffe20e6
parent1df272c3cca091a45cecdc2d34354065bcd72fc5 (diff)
downloadlibssh-230a43728802dcbf3d8a20adbf714ea896bd12dc.tar.gz
libssh-230a43728802dcbf3d8a20adbf714ea896bd12dc.tar.xz
libssh-230a43728802dcbf3d8a20adbf714ea896bd12dc.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> (cherry picked from commit 968fdf4e188b57b6b9c2d49cae6a1617070374cc)
-rw-r--r--tests/client/torture_hostkey.c4
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;