mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04: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
|
#ifdef WC_RNG_SEED_CB
|
||||||
|
|
||||||
|
#ifndef HAVE_FIPS
|
||||||
|
static wc_RngSeed_Cb seedCb = wc_GenerateSeed;
|
||||||
|
#else
|
||||||
static wc_RngSeed_Cb seedCb = NULL;
|
static wc_RngSeed_Cb seedCb = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
int wc_SetSeed_Cb(wc_RngSeed_Cb cb)
|
int wc_SetSeed_Cb(wc_RngSeed_Cb cb)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user