Fix unused variable warning in random.c when building with CUSTOM_RAND_GENERATE_BLOCK.

Fixes #10499.
This commit is contained in:
Kareem
2026-05-19 16:14:07 -07:00
parent b0d61c5e44
commit de9d0fded8
+1 -1
View File
@@ -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