diff --git a/wolfcrypt/src/random.c b/wolfcrypt/src/random.c index 35da606ee7..21d46ba1ba 100644 --- a/wolfcrypt/src/random.c +++ b/wolfcrypt/src/random.c @@ -1652,6 +1652,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