diff options
Diffstat (limited to 'crypto/provider_conf.c')
-rw-r--r-- | crypto/provider_conf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/provider_conf.c b/crypto/provider_conf.c index f4f88e7100..22b4116f88 100644 --- a/crypto/provider_conf.c +++ b/crypto/provider_conf.c @@ -87,7 +87,7 @@ static int provider_conf_load(OSSL_LIB_CTX *libctx, const char *name, ecmds = NCONF_get_section(cnf, value); if (!ecmds) { - CRYPTOerr(CRYPTO_F_PROVIDER_CONF_LOAD, CRYPTO_R_PROVIDER_SECTION_ERROR); + ERR_raise(ERR_LIB_CRYPTO, CRYPTO_R_PROVIDER_SECTION_ERROR); ERR_add_error_data(3, "section=", value, " not found"); return 0; } @@ -159,8 +159,7 @@ static int provider_conf_init(CONF_IMODULE *md, const CONF *cnf) elist = NCONF_get_section(cnf, CONF_imodule_get_value(md)); if (!elist) { - CRYPTOerr(CRYPTO_F_PROVIDER_CONF_INIT, - CRYPTO_R_PROVIDER_SECTION_ERROR); + ERR_raise(ERR_LIB_CRYPTO, CRYPTO_R_PROVIDER_SECTION_ERROR); return 0; } |