6276N/A# This patch was developed in house.
6276N/A# The issue is fixed in the OpenSSL 1.1 release by the upstream,
6276N/A# but the code base has changed and the same fix can't be applied
6276N/A# without major code change.
6276N/A /* Load the config file for possible policy OIDs. */
6276N/A conf = load_config_file(configfile);
6276N/A ret = !query_command(data, digest, md, policy, no_nonce, cert,
6276N/A BIO_printf(bio_err, "error on line %ld of config file "
6276N/A "'%s'\n", errorline, configfile);
6276N/A p = NCONF_get_string(conf, NULL, ENV_OID_FILE);
6276N/A BIO *oid_bio = BIO_new_file(p, "r");
6276N/A OBJ_create_objects(oid_bio);
6276N/A- if (!add_oid_section(bio_err, conf))
6276N/A+ if (!add_oid_section(bio_err, conf)) {