settings.h: GenSeed for test only option
This commit is contained in:
parent
0c95a5e940
commit
f450ac0684
@ -102,7 +102,7 @@ int wc_RNG_GenerateByte(WC_RNG* rng, byte* b)
|
||||
#include <wincrypt.h>
|
||||
#else
|
||||
#if !defined(NO_DEV_RANDOM) && !defined(CUSTOM_RAND_GENERATE) && \
|
||||
!defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM)
|
||||
!defined(WOLFSSL_GENSEED_FORTEST) && !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM)
|
||||
#include <fcntl.h>
|
||||
#ifndef EBSNET
|
||||
#include <unistd.h>
|
||||
|
@ -57,7 +57,7 @@
|
||||
/* Uncomment next line if using FreeRTOS */
|
||||
/* #define FREERTOS */
|
||||
|
||||
/* Uncomment next line if using FreeRTOS-Plus TCP */
|
||||
/* Uncomment next line if using FreeRTOS+ TCP */
|
||||
/* #define FREERTOS_TCP */
|
||||
|
||||
/* Uncomment next line if using FreeRTOS Windows Simulator */
|
||||
@ -416,10 +416,7 @@ static char *fgets(char *buff, int sz, FILE *fp)
|
||||
#define XFREE(p, h, type) vPortFree((p))
|
||||
#endif
|
||||
|
||||
#define CUSTOM_RAND_GENERATE testRandGen /* for test use only */
|
||||
static int testRandGen(void) {
|
||||
return 0;
|
||||
}
|
||||
#define WOLFSSL_GENSEED_FORTEST
|
||||
|
||||
#define NO_WOLFSSL_DIR
|
||||
#define NO_WRITEV
|
||||
|
Loading…
x
Reference in New Issue
Block a user