diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c index cb2f9e8d924a21e9492372d3ca9c17d79195eb1b..974e3bbd11f6108f21cc53970bef00d850de5ea7 100644 --- a/crypto/rand/drbg_lib.c +++ b/crypto/rand/drbg_lib.c @@ -772,9 +772,6 @@ static int drbg_bytes(unsigned char *out, int count) return 0; CRYPTO_THREAD_write_lock(drbg->lock); - if (drbg->state == DRBG_UNINITIALISED) - goto err; - for ( ; count > 0; count -= chunk, out += chunk) { chunk = count; if (chunk > drbg->max_request)