Skip to content

Commit f068beb

Browse files
committed
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)
1 parent 5400128 commit f068beb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
#if FIPS_VERSION_LT(2,0)
298298
#define WC_RNG RNG
299299
#else
300-
#ifndef WOLFSSL_STM32L4
300+
#ifndef NO_OLD_RNGNAME
301301
#define RNG WC_RNG
302302
#endif
303303
#endif

0 commit comments

Comments
 (0)