mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 07:32:20 +01:00
Initalize RNG seed fd in _InitRng.
This commit is contained in:
@@ -894,6 +894,10 @@ static int _InitRng(WC_RNG* rng, byte* nonce, word32 nonceSz,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef USE_WINDOWS_API
|
||||
rng->seed.fd = 0;
|
||||
#endif
|
||||
|
||||
#ifdef CUSTOM_RAND_GENERATE_BLOCK
|
||||
ret = 0; /* success */
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user