Skip to content

Commit 2c14270

Browse files
author
Andras Fekete
committed
In new versions of wolfSSL-FIPS it is forbidden to disable FIPS
1 parent 4948b08 commit 2c14270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_rsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ int test_rsa_direct_key_gen(ENGINE *e, void *data)
724724
NULL) != 0;
725725
}
726726
}
727-
#if defined(HAVE_FIPS) || defined(HAVE_FIPS_VERSION)
727+
#if (defined(HAVE_FIPS) || defined(HAVE_FIPS_VERSION)) && FIPS_VERSION3_LT(5,0,0)
728728
if (err == 0) {
729729
PRINT_MSG("Check that disabling FIPS checks allows 1024-bit key gen.");
730730
err = ENGINE_ctrl_cmd(e, "enable_fips_checks", 0, NULL, NULL, 0) == 0;

0 commit comments

Comments
 (0)