We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce74a34 + ca5adfa commit 3b75a41Copy full SHA for 3b75a41
1 file changed
wolfssl/wolfcrypt/settings.h
@@ -297,7 +297,11 @@
297
#if FIPS_VERSION_LT(2,0)
298
#define WC_RNG RNG
299
#else
300
- #ifndef NO_OLD_RNGNAME
+ /* RNG needs to be defined to WC_RNG anytime another library on the
301
+ * system or other set of headers included by wolfSSL already defines
302
+ * RNG. Examples are:
303
+ * wolfEngine, wolfProvider and potentially other use-cases */
304
+ #ifndef RNG
305
#define RNG WC_RNG
306
#endif
307
0 commit comments