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:
David Garske
2023-12-11 10:01:21 -08:00
parent 540012844b
commit f068bebb94

View File

@@ -297,7 +297,7 @@
#if FIPS_VERSION_LT(2,0)
#define WC_RNG RNG
#else
#ifndef WOLFSSL_STM32L4
#ifndef NO_OLD_RNGNAME
#define RNG WC_RNG
#endif
#endif