Lines Matching refs:req_conf

80 static CONF *req_conf = NULL;  variable
438 req_conf = app_load_config(template); in req_main()
445 if (template != default_config_file && !app_load_modules(req_conf)) in req_main()
448 if (req_conf != NULL) { in req_main()
449 p = NCONF_get_string(req_conf, NULL, "oid_file"); in req_main()
467 if (!add_oid_section(req_conf)) in req_main()
471 p = NCONF_get_string(req_conf, SECTION, "default_md"); in req_main()
482 extensions = NCONF_get_string(req_conf, SECTION, V3_EXTENSIONS); in req_main()
490 X509V3_set_nconf(&ctx, req_conf); in req_main()
491 if (!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) { in req_main()
510 NCONF_get_string(req_conf, SECTION, "input_password"); in req_main()
517 NCONF_get_string(req_conf, SECTION, "output_password"); in req_main()
522 p = NCONF_get_string(req_conf, SECTION, STRING_MASK); in req_main()
532 p = NCONF_get_string(req_conf, SECTION, UTF8_IN); in req_main()
540 req_exts = NCONF_get_string(req_conf, SECTION, REQ_EXTENSIONS); in req_main()
548 X509V3_set_nconf(&ctx, req_conf); in req_main()
549 if (!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) { in req_main()
563 app_RAND_load_conf(req_conf, SECTION); in req_main()
568 app_RAND_load_conf(req_conf, SECTION); in req_main()
570 if (!NCONF_get_number(req_conf, SECTION, BITS, &newkey)) { in req_main()
640 keyout = NCONF_get_string(req_conf, SECTION, KEYFILE); in req_main()
653 p = NCONF_get_string(req_conf, SECTION, "encrypt_rsa_key"); in req_main()
656 p = NCONF_get_string(req_conf, SECTION, "encrypt_key"); in req_main()
753 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
756 if (extensions != NULL && !X509V3_EXT_add_nconf(req_conf, in req_main()
790 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
794 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, in req_main()
958 NCONF_free(req_conf); in req_main()
992 tmp = NCONF_get_string(req_conf, SECTION, PROMPT); in make_REQ()
998 dn_sect = NCONF_get_string(req_conf, SECTION, DISTINGUISHED_NAME); in make_REQ()
1004 dn_sk = NCONF_get_section(req_conf, dn_sect); in make_REQ()
1010 attr_sect = NCONF_get_string(req_conf, SECTION, ATTRIBUTES); in make_REQ()
1015 attr_sk = NCONF_get_section(req_conf, attr_sect); in make_REQ()
1131 if ((def = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) { in prompt_info()
1138 if ((value = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) { in prompt_info()
1145 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_min)) { in prompt_info()
1153 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_max)) { in prompt_info()
1191 if ((def = NCONF_get_string(req_conf, attr_sect, buf)) in prompt_info()
1199 if ((value = NCONF_get_string(req_conf, attr_sect, buf)) in prompt_info()
1207 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_min)) { in prompt_info()
1214 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_max)) { in prompt_info()