Fix compilation with WOLFSSL_RNG_USE_FULL_SEED.

This commit is contained in:
Kareem
2026-06-02 15:50:42 -07:00
parent 4c0c093fe9
commit 9592d8254a
+1 -1
View File
@@ -1720,11 +1720,11 @@ static int _InitRng(WC_RNG* rng, byte* nonce, word32 nonceSz,
word32 seedSz = SEED_SZ;
#else
word32 seedSz = SEED_SZ + SEED_BLOCK_SZ;
#endif
WC_DECLARE_VAR(seed, byte, MAX_SEED_SZ, rng->heap);
#ifdef WOLFSSL_SMALL_STACK_CACHE
int drbg_scratch_instantiated = 0;
#endif
#endif
#endif
(void)nonce;