diff options
Diffstat (limited to 'crypto/asn1/asn_moid.c')
-rw-r--r-- | crypto/asn1/asn_moid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/asn_moid.c b/crypto/asn1/asn_moid.c index da7e29119a..9459bb249e 100644 --- a/crypto/asn1/asn_moid.c +++ b/crypto/asn1/asn_moid.c @@ -76,8 +76,9 @@ static int oid_module_init(CONF_IMODULE *md, const CONF *cnf) const char *oid_section; STACK_OF(CONF_VALUE) *sktmp; CONF_VALUE *oval; + oid_section = CONF_imodule_get_value(md); - if (!(sktmp = NCONF_get_section(cnf, oid_section))) { + if ((sktmp = NCONF_get_section(cnf, oid_section)) == NULL) { ASN1err(ASN1_F_OID_MODULE_INIT, ASN1_R_ERROR_LOADING_SECTION); return 0; } |