mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Merge pull request #7057 from kaleb-himes/fix-fips-140-3-pr-failure
Address fips 140-3 failures with wolfEngine support enabled
This commit is contained in:
@ -297,7 +297,11 @@
|
|||||||
#if FIPS_VERSION_LT(2,0)
|
#if FIPS_VERSION_LT(2,0)
|
||||||
#define WC_RNG RNG
|
#define WC_RNG RNG
|
||||||
#else
|
#else
|
||||||
#ifndef NO_OLD_RNGNAME
|
/* RNG needs to be defined to WC_RNG anytime another library on the
|
||||||
|
* system or other set of headers included by wolfSSL already defines
|
||||||
|
* RNG. Examples are:
|
||||||
|
* wolfEngine, wolfProvider and potentially other use-cases */
|
||||||
|
#ifndef RNG
|
||||||
#define RNG WC_RNG
|
#define RNG WC_RNG
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user