summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_cnf.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/evp_cnf.c')
-rw-r--r--crypto/evp/evp_cnf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/evp/evp_cnf.c b/crypto/evp/evp_cnf.c
index 7c2301d26c..aee79712cd 100644
--- a/crypto/evp/evp_cnf.c
+++ b/crypto/evp/evp_cnf.c
@@ -38,10 +38,10 @@ static int alg_module_init(CONF_IMODULE *md, const CONF *cnf)
if (strcmp(oval->name, "fips_mode") == 0) {
int m;
- if (!X509V3_get_value_bool(oval, &m)) {
- ERR_raise(ERR_LIB_EVP, EVP_R_INVALID_FIPS_MODE);
+ /* Detailed error already reported. */
+ if (!X509V3_get_value_bool(oval, &m))
return 0;
- }
+
/*
* fips_mode is deprecated and should not be used in new
* configurations.