Lines Matching defs:req_conf
80 static CONF *req_conf = NULL;
441 if ((req_conf = app_load_config(template)) == NULL)
450 if (template != default_config_file && !app_load_modules(req_conf))
453 if (req_conf != NULL) {
454 p = NCONF_get_string(req_conf, NULL, "oid_file");
472 if (!add_oid_section(req_conf))
476 p = NCONF_get_string(req_conf, SECTION, "default_md");
487 extensions = NCONF_get_string(req_conf, SECTION, V3_EXTENSIONS);
495 X509V3_set_nconf(&ctx, req_conf);
496 if (!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) {
515 NCONF_get_string(req_conf, SECTION, "input_password");
522 NCONF_get_string(req_conf, SECTION, "output_password");
527 p = NCONF_get_string(req_conf, SECTION, STRING_MASK);
537 p = NCONF_get_string(req_conf, SECTION, UTF8_IN);
545 req_exts = NCONF_get_string(req_conf, SECTION, REQ_EXTENSIONS);
553 X509V3_set_nconf(&ctx, req_conf);
554 if (!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) {
568 app_RAND_load_conf(req_conf, SECTION);
573 app_RAND_load_conf(req_conf, SECTION);
575 if (!NCONF_get_number(req_conf, SECTION, BITS, &newkey)) {
645 keyout = NCONF_get_string(req_conf, SECTION, KEYFILE);
658 p = NCONF_get_string(req_conf, SECTION, "encrypt_rsa_key");
661 p = NCONF_get_string(req_conf, SECTION, "encrypt_key");
758 X509V3_set_nconf(&ext_ctx, req_conf);
761 if (extensions != NULL && !X509V3_EXT_add_nconf(req_conf,
795 X509V3_set_nconf(&ext_ctx, req_conf);
799 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx,
963 NCONF_free(req_conf);
997 tmp = NCONF_get_string(req_conf, SECTION, PROMPT);
1003 dn_sect = NCONF_get_string(req_conf, SECTION, DISTINGUISHED_NAME);
1009 dn_sk = NCONF_get_section(req_conf, dn_sect);
1015 attr_sect = NCONF_get_string(req_conf, SECTION, ATTRIBUTES);
1020 attr_sk = NCONF_get_section(req_conf, attr_sect);
1136 if ((def = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) {
1143 if ((value = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) {
1150 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_min)) {
1158 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_max)) {
1196 if ((def = NCONF_get_string(req_conf, attr_sect, buf))
1204 if ((value = NCONF_get_string(req_conf, attr_sect, buf))
1212 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_min)) {
1219 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_max)) {