1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2026-01-06 14:21:55 +03:00

torture_hashes: Skip the MD5 tests in FIPS mode

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2019-05-23 11:36:54 +02:00
committed by Andreas Schneider
parent 167aa8bc6c
commit 56041dc784

View File

@@ -57,6 +57,10 @@ static void torture_md5_hash(void **state)
size_t hlen;
int rc = 0;
if (ssh_fips_mode()) {
skip();
}
rc = ssh_get_publickey_hash(pubkey, SSH_PUBLICKEY_HASH_MD5,
(unsigned char **)&hash, &hlen);
if (ssh_fips_mode()) {