mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-05-30 05:24:50 +03:00
torture: fix warning for SSH_KEYTYPE_ED25519
Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
ca2acec34a
commit
014fde0542
@ -514,6 +514,7 @@ static const char *torture_get_testkey_internal(enum ssh_keytypes_e type,
|
|||||||
return torture_ecdsa256_testkey_pub;
|
return torture_ecdsa256_testkey_pub;
|
||||||
}
|
}
|
||||||
return torture_ecdsa256_testkey;
|
return torture_ecdsa256_testkey;
|
||||||
|
case SSH_KEYTYPE_ED25519:
|
||||||
case SSH_KEYTYPE_RSA1:
|
case SSH_KEYTYPE_RSA1:
|
||||||
case SSH_KEYTYPE_UNKNOWN:
|
case SSH_KEYTYPE_UNKNOWN:
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user