Lines Matching defs:conf
14 #include <openssl/conf.h>
89 static char *lookup_conf(const CONF *conf, const char *group, const char *tag);
97 long days, int batch, const char *ext_sect, CONF *conf,
106 CONF *conf, int verbose, unsigned long certopt,
114 const char *enddate, long days, const char *ext_sect, CONF *conf,
123 CONF *conf, unsigned long certopt, unsigned long nameopt,
226 CONF *conf = NULL;
436 if ((conf = app_load_config(configfile)) == NULL)
438 if (configfile != default_config_file && !app_load_modules(conf))
443 && (section = lookup_conf(conf, BASE_SECTION, ENV_DEFAULT_CA)) == NULL)
446 p = NCONF_get_string(conf, NULL, "oid_file");
459 if (!add_oid_section(conf)) {
464 app_RAND_load_conf(conf, BASE_SECTION);
466 f = NCONF_get_string(conf, section, STRING_MASK);
476 f = NCONF_get_string(conf, section, UTF8_IN);
484 p = NCONF_get_string(conf, section, ENV_UNIQUE_SUBJECT);
493 dbfile = lookup_conf(conf, section, ENV_DATABASE);
513 && (keyfile = lookup_conf(conf, section, ENV_PRIVATE_KEY)) == NULL)
534 && (certfile = lookup_conf(conf, section, ENV_CERTIFICATE)) == NULL)
550 f = NCONF_get_string(conf, BASE_SECTION, ENV_PRESERVE);
555 f = NCONF_get_string(conf, BASE_SECTION, ENV_MSIE_HACK);
561 f = NCONF_get_string(conf, section, ENV_NAMEOPT);
571 f = NCONF_get_string(conf, section, ENV_CERTOPT);
583 f = NCONF_get_string(conf, section, ENV_EXTCOPY);
598 outdir = NCONF_get_string(conf, section, ENV_NEW_CERTS_DIR);
622 dbfile = lookup_conf(conf, section, ENV_DATABASE);
740 && (md = lookup_conf(conf, section, ENV_DEFAULT_MD)) == NULL) {
759 tmp_email_dn = NCONF_get_string(conf, section, ENV_DEFAULT_EMAIL_DN);
767 && (policy = lookup_conf(conf, section, ENV_POLICY)) == NULL)
773 if (NCONF_get_string(conf, section, ENV_RAND_SERIAL) != NULL) {
776 serialfile = lookup_conf(conf, section, ENV_SERIAL);
787 extensions = NCONF_get_string(conf, section, ENV_EXTENSIONS);
795 X509V3_set_nconf(&ctx, conf);
796 if (!X509V3_EXT_add_nconf(conf, &ctx, extensions, NULL)) {
807 startdate = NCONF_get_string(conf, section, ENV_DEFAULT_STARTDATE);
820 enddate = NCONF_get_string(conf, section, ENV_DEFAULT_ENDDATE);
831 if (!NCONF_get_number(conf, section, ENV_DEFAULT_DAYS, &days))
861 if ((attribs = NCONF_get_section(conf, policy)) == NULL) {
875 conf, verbose, certopt, get_nameopt(), default_op,
896 conf, verbose, certopt, get_nameopt(), default_op,
915 enddate, days, batch, extensions, conf, verbose,
934 enddate, days, batch, extensions, conf, verbose,
1062 crl_ext = NCONF_get_string(conf, section, ENV_CRLEXT);
1070 X509V3_set_nconf(&ctx, conf);
1071 if (!X509V3_EXT_add_nconf(conf, &ctx, crl_ext, NULL)) {
1079 if ((crlnumberfile = NCONF_get_string(conf, section, ENV_CRLNUMBER))
1087 if (!NCONF_get_number(conf, section,
1090 if (!NCONF_get_number(conf, section,
1159 X509V3_set_nconf(&crlctx, conf);
1162 if (!X509V3_EXT_CRL_add_nconf(conf, &crlctx, crl_ext, crl))
1249 NCONF_free(conf);
1255 static char *lookup_conf(const CONF *conf, const char *section, const char *tag)
1257 char *entry = NCONF_get_string(conf, section, tag);