Skip to content

Commit 503679b

Browse files
authored
Merge pull request #130 from LinuxJedi/fix-fips
Fix FIPS wolfSSL builds so that pkcs11mtt passes
2 parents 229a997 + 0d2a06f commit 503679b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/internal.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5395,6 +5395,11 @@ int WP11_Library_Init(void)
53955395
if (ret == 0) {
53965396
ret = wc_SetSeed_Cb(wc_GenerateSeed);
53975397
}
5398+
#endif
5399+
#ifdef HAVE_FIPS
5400+
if (ret == 0) {
5401+
ret = wc_RunAllCast_fips();
5402+
}
53985403
#endif
53995404
if (ret == 0) {
54005405
#ifdef WOLFSSL_MAXQ10XX_CRYPTO

0 commit comments

Comments
 (0)