1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00

wolfssl/wolfcrypt/random.h: add exemptions for FIPS WC_RNG_WANT_BANKREF_SUPPORT.

This commit is contained in:
Daniel Pouzzner
2026-09-24 02:30:56 -05:00
parent 103ef37cc7
commit 331eaa157e

View File

@@ -171,7 +171,8 @@
#undef WC_RNG_WANT_BANKREF_SUPPORT
#endif
#ifdef WC_RNG_WANT_BANKREF_SUPPORT
#ifdef HAVE_FIPS
#if defined(HAVE_FIPS) && \
!defined(WOLFSSL_FIPS_DEV) && !defined(WOLFSSL_EXPERIMENTAL_SETTINGS)
#error HAVE_FIPS is incompatible with WC_RNG_WANT_BANKREF_SUPPORT.
#endif
#ifndef HAVE_WC_RNG_BANK