Skip to content

Commit 0d2a06f

Browse files
committed
Fix FIPS wolfSSL builds so that pkcs11mtt passes
1 parent 34d4313 commit 0d2a06f

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
@@ -5387,6 +5387,11 @@ int WP11_Library_Init(void)
53875387
if (ret == 0) {
53885388
ret = wc_SetSeed_Cb(wc_GenerateSeed);
53895389
}
5390+
#endif
5391+
#ifdef HAVE_FIPS
5392+
if (ret == 0) {
5393+
ret = wc_RunAllCast_fips();
5394+
}
53905395
#endif
53915396
if (ret == 0) {
53925397
#ifdef WOLFSSL_MAXQ10XX_CRYPTO

0 commit comments

Comments
 (0)