Lines Matching refs:req_conf

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