Skip to content

Commit

Permalink
Fix to resolve collision between RNG in settings.h and the STM32 Cube…
Browse files Browse the repository at this point in the history
… 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)
  • Loading branch information
dgarske committed Dec 11, 2023
1 parent 5400128 commit f068beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f068beb

Please sign in to comment.