Skip to content

Commit ca5adfa

Browse files
committed
Add comments per peer review
1 parent db7f08e commit ca5adfa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@
297297
#if FIPS_VERSION_LT(2,0)
298298
#define WC_RNG RNG
299299
#else
300+
/* 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 */
300304
#ifndef RNG
301305
#define RNG WC_RNG
302306
#endif

0 commit comments

Comments
 (0)