summaryrefslogtreecommitdiffstats
path: root/fips/rand/fips_drbg_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/rand/fips_drbg_lib.c')
-rw-r--r--fips/rand/fips_drbg_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fips/rand/fips_drbg_lib.c b/fips/rand/fips_drbg_lib.c
index bb2e168d13..ee162d05eb 100644
--- a/fips/rand/fips_drbg_lib.c
+++ b/fips/rand/fips_drbg_lib.c
@@ -79,6 +79,8 @@ int FIPS_drbg_init(DRBG_CTX *dctx, int type, unsigned int flags)
rv = fips_drbg_ctr_init(dctx);
if (rv == -2)
rv = fips_drbg_hmac_init(dctx);
+ if (rv == -2)
+ rv = fips_drbg_ec_init(dctx);
if (rv <= 0)
{