Skip to content

Commit 5fa8b15

Browse files
committed
wolfssl/wolfcrypt/settings.h: for fips-ready, set WC_FIPS_186_4, not _5, to match v5/v6.
1 parent 7aac9e5 commit 5fa8b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfssl/wolfcrypt/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
(WOLFSSL_FIPS_VERSION_CODE != WOLFSSL_MAKE_FIPS_VERSION3(major,minor,patch))
462462

463463
#if defined(HAVE_FIPS) && !defined(WC_FIPS_186_5) && !defined(WC_FIPS_186_4)
464-
#if FIPS_VERSION3_GE(7,0,0)
464+
#if FIPS_VERSION3_GE(7,0,0) && !defined(WOLFSSL_FIPS_READY)
465465
#ifndef WC_FIPS_186_5
466466
#define WC_FIPS_186_5
467467
#endif

0 commit comments

Comments
 (0)