mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Set default seedCb when not FIPS
This commit is contained in:
@@ -307,7 +307,11 @@ This library contains implementation for the random number generator.
|
||||
|
||||
#ifdef WC_RNG_SEED_CB
|
||||
|
||||
#ifndef HAVE_FIPS
|
||||
static wc_RngSeed_Cb seedCb = wc_GenerateSeed;
|
||||
#else
|
||||
static wc_RngSeed_Cb seedCb = NULL;
|
||||
#endif
|
||||
|
||||
int wc_SetSeed_Cb(wc_RngSeed_Cb cb)
|
||||
{
|
||||
|
Reference in New Issue
Block a user