mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 07:00:50 +02:00
Fix compilation with WOLFSSL_RNG_USE_FULL_SEED.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user