Set default seedCb when not FIPS

This commit is contained in:
Juliusz Sosinowicz
2025-06-16 17:39:22 +02:00
parent 37554a13db
commit aca6da66f6

View File

@@ -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)
{