mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
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>
This commit is contained in:
committed by
Andreas Schneider
parent
bc91fa98ea
commit
968fdf4e18
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user