mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-08 12:10:48 +02:00
Fix unused variable warning in random.c when building with CUSTOM_RAND_GENERATE_BLOCK.
Fixes #10499.
This commit is contained in:
@@ -1715,7 +1715,7 @@ static int _InitRng(WC_RNG* rng, byte* nonce, word32 nonceSz,
|
||||
void* heap, int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
#ifdef HAVE_HASHDRBG
|
||||
#if defined(HAVE_HASHDRBG) && !defined(CUSTOM_RAND_GENERATE_BLOCK)
|
||||
#if !defined(HAVE_FIPS) && defined(WOLFSSL_RNG_USE_FULL_SEED)
|
||||
word32 seedSz = SEED_SZ;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user