Lines Matching defs:req_conf

78 static CONF *req_conf = NULL;
501 if ((req_conf = app_load_config_verbose(template, verbose)) == NULL)
510 if (template != default_config_file && !app_load_modules(req_conf))
513 if (req_conf != NULL) {
514 p = NCONF_get_string(req_conf, NULL, "oid_file");
530 if (!add_oid_section(req_conf))
542 p = NCONF_get_string(req_conf, section, "default_md");
550 extensions = NCONF_get_string(req_conf, section, V3_EXTENSIONS);
559 X509V3_set_nconf(&ctx, req_conf);
560 if (!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) {
581 NCONF_get_string(req_conf, section, "input_password");
588 NCONF_get_string(req_conf, section, "output_password");
593 p = NCONF_get_string(req_conf, section, STRING_MASK);
603 p = NCONF_get_string(req_conf, section, UTF8_IN);
611 req_exts = NCONF_get_string(req_conf, section, REQ_EXTENSIONS);
620 X509V3_set_nconf(&ctx, req_conf);
621 if (!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) {
633 app_RAND_load_conf(req_conf, section);
636 app_RAND_load_conf(req_conf, section);
638 if (!NCONF_get_number(req_conf, section, BITS, &newkey_len))
693 keyout = NCONF_get_string(req_conf, section, KEYFILE);
710 p = NCONF_get_string(req_conf, section, "encrypt_rsa_key");
713 p = NCONF_get_string(req_conf, section, "encrypt_key");
851 X509V3_set_nconf(&ext_ctx, req_conf);
855 && !X509V3_EXT_add_nconf(req_conf, &ext_ctx, extensions,
885 X509V3_set_nconf(&ext_ctx, req_conf);
889 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx,
1037 NCONF_free(req_conf);
1074 tmp = NCONF_get_string(req_conf, section, PROMPT);
1080 dn_sect = NCONF_get_string(req_conf, section, DISTINGUISHED_NAME);
1084 dn_sk = NCONF_get_section(req_conf, dn_sect);
1091 attr_sect = NCONF_get_string(req_conf, section, ATTRIBUTES);
1095 attr_sk = NCONF_get_section(req_conf, attr_sect);
1190 if ((def = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) {
1197 if ((value = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) {
1204 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_min)) {
1211 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_max)) {
1248 if ((def = NCONF_get_string(req_conf, attr_sect, buf))
1256 if ((value = NCONF_get_string(req_conf, attr_sect, buf))
1264 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_min)) {
1271 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_max)) {