forked from wolfSSL/wolfssl
Fix to resolve collision between RNG in settings.h and the STM32 Cube HAL (ex: stm32h7xx.h). In STM32 platforms we use NO_OLD_RNGNAME (see https://github.com/wolfSSL/wolfssl/blob/master/examples/configs/user_settings_stm32.h#L616)
This commit is contained in:
@@ -297,7 +297,7 @@
|
|||||||
#if FIPS_VERSION_LT(2,0)
|
#if FIPS_VERSION_LT(2,0)
|
||||||
#define WC_RNG RNG
|
#define WC_RNG RNG
|
||||||
#else
|
#else
|
||||||
#ifndef WOLFSSL_STM32L4
|
#ifndef NO_OLD_RNGNAME
|
||||||
#define RNG WC_RNG
|
#define RNG WC_RNG
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user