summaryrefslogtreecommitdiffstats
path: root/providers/implementations/rands/drbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/rands/drbg.c')
-rw-r--r--providers/implementations/rands/drbg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/providers/implementations/rands/drbg.c b/providers/implementations/rands/drbg.c
index fc8ac52ac2..a05c9397c8 100644
--- a/providers/implementations/rands/drbg.c
+++ b/providers/implementations/rands/drbg.c
@@ -365,9 +365,6 @@ int ossl_prov_drbg_instantiate(PROV_DRBG *drbg, unsigned int strength,
size_t noncelen = 0, entropylen = 0;
size_t min_entropy, min_entropylen, max_entropylen;
- if (!ossl_prov_is_running())
- return 0;
-
if (strength > drbg->strength) {
ERR_raise(ERR_LIB_PROV, PROV_R_INSUFFICIENT_DRBG_STRENGTH);
goto end;