Lines Matching defs:conf

14 #include <openssl/conf.h>
89 static char *lookup_conf(const CONF *conf, const char *group, const char *tag);
100 long days, int batch, const char *ext_sect, CONF *conf,
112 CONF *conf, int verbose, unsigned long certopt,
120 const char *enddate, long days, const char *ext_sect, CONF *conf,
129 CONF *conf, unsigned long certopt, unsigned long nameopt,
262 CONF *conf = NULL;
503 if ((conf = app_load_config_verbose(configfile, 1)) == NULL)
505 if (configfile != default_config_file && !app_load_modules(conf))
510 && (section = lookup_conf(conf, BASE_SECTION, ENV_DEFAULT_CA)) == NULL)
513 p = NCONF_get_string(conf, NULL, "oid_file");
526 if (!add_oid_section(conf))
529 app_RAND_load_conf(conf, BASE_SECTION);
533 f = NCONF_get_string(conf, section, STRING_MASK);
543 f = NCONF_get_string(conf, section, UTF8_IN);
551 p = NCONF_get_string(conf, section, ENV_UNIQUE_SUBJECT);
560 dbfile = lookup_conf(conf, section, ENV_DATABASE);
582 && (keyfile = lookup_conf(conf, section, ENV_PRIVATE_KEY)) == NULL)
602 && (certfile = lookup_conf(conf, section, ENV_CERTIFICATE)) == NULL)
618 f = NCONF_get_string(conf, BASE_SECTION, ENV_PRESERVE);
623 f = NCONF_get_string(conf, BASE_SECTION, ENV_MSIE_HACK);
629 f = NCONF_get_string(conf, section, ENV_NAMEOPT);
639 f = NCONF_get_string(conf, section, ENV_CERTOPT);
651 f = NCONF_get_string(conf, section, ENV_EXTCOPY);
666 outdir = NCONF_get_string(conf, section, ENV_NEW_CERTS_DIR);
690 dbfile = lookup_conf(conf, section, ENV_DATABASE);
810 && (dgst = lookup_conf(conf, section, ENV_DEFAULT_MD)) == NULL) {
826 tmp_email_dn = NCONF_get_string(conf, section, ENV_DEFAULT_EMAIL_DN);
833 && (policy = lookup_conf(conf, section, ENV_POLICY)) == NULL)
839 if (NCONF_get_string(conf, section, ENV_RAND_SERIAL) != NULL) {
842 serialfile = lookup_conf(conf, section, ENV_SERIAL);
866 extensions = NCONF_get_string(conf, section, ENV_EXTENSIONS);
875 X509V3_set_nconf(&ctx, conf);
876 if (!X509V3_EXT_add_nconf(conf, &ctx, extensions, NULL)) {
887 startdate = NCONF_get_string(conf, section, ENV_DEFAULT_STARTDATE);
900 enddate = NCONF_get_string(conf, section, ENV_DEFAULT_ENDDATE);
911 if (!NCONF_get_number(conf, section, ENV_DEFAULT_DAYS, &days))
942 if ((attribs = NCONF_get_section(conf, policy)) == NULL) {
956 conf, verbose, certopt, get_nameopt(), default_op,
977 conf, verbose, certopt, get_nameopt(), default_op,
997 enddate, days, batch, extensions, conf, verbose,
1018 enddate, days, batch, extensions, conf, verbose,
1146 crl_ext = NCONF_get_string(conf, section, ENV_CRLEXT);
1155 X509V3_set_nconf(&ctx, conf);
1156 if (!X509V3_EXT_add_nconf(conf, &ctx, crl_ext, NULL)) {
1164 if ((crlnumberfile = NCONF_get_string(conf, section, ENV_CRLNUMBER))
1173 if (!NCONF_get_number(conf, section,
1176 if (!NCONF_get_number(conf, section,
1246 X509V3_set_nconf(&crlctx, conf);
1249 if (!X509V3_EXT_CRL_add_nconf(conf, &crlctx, crl_ext, crl)) {
1343 NCONF_free(conf);
1349 static char *lookup_conf(const CONF *conf, const char *section, const char *tag)
1351 char *entry = NCONF_get_string(conf, section, tag);