Lines Matching refs:req_conf

78 static CONF *req_conf = NULL;  variable
501 if ((req_conf = app_load_config_verbose(template, verbose)) == NULL) in req_main()
510 if (template != default_config_file && !app_load_modules(req_conf)) in req_main()
513 if (req_conf != NULL) { in req_main()
514 p = NCONF_get_string(req_conf, NULL, "oid_file"); in req_main()
530 if (!add_oid_section(req_conf)) in req_main()
542 p = NCONF_get_string(req_conf, section, "default_md"); in req_main()
550 extensions = NCONF_get_string(req_conf, section, V3_EXTENSIONS); in req_main()
559 X509V3_set_nconf(&ctx, req_conf); in req_main()
560 if (!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) { in req_main()
572 X509V3_set_nconf(&ctx, req_conf); in req_main()
581 NCONF_get_string(req_conf, section, "input_password"); in req_main()
588 NCONF_get_string(req_conf, section, "output_password"); in req_main()
593 p = NCONF_get_string(req_conf, section, STRING_MASK); in req_main()
603 p = NCONF_get_string(req_conf, section, UTF8_IN); in req_main()
611 req_exts = NCONF_get_string(req_conf, section, REQ_EXTENSIONS); in req_main()
620 X509V3_set_nconf(&ctx, req_conf); in req_main()
621 if (!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) { in req_main()
633 app_RAND_load_conf(req_conf, section); in req_main()
636 app_RAND_load_conf(req_conf, section); in req_main()
638 if (!NCONF_get_number(req_conf, section, BITS, &newkey_len)) { in req_main()
695 keyout = NCONF_get_string(req_conf, section, KEYFILE); in req_main()
712 p = NCONF_get_string(req_conf, section, "encrypt_rsa_key"); in req_main()
715 p = NCONF_get_string(req_conf, section, "encrypt_key"); in req_main()
853 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
857 && !X509V3_EXT_add_nconf(req_conf, &ext_ctx, extensions, in req_main()
887 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
891 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, in req_main()
1039 NCONF_free(req_conf); in req_main()
1076 tmp = NCONF_get_string(req_conf, section, PROMPT); in make_REQ()
1082 dn_sect = NCONF_get_string(req_conf, section, DISTINGUISHED_NAME); in make_REQ()
1086 dn_sk = NCONF_get_section(req_conf, dn_sect); in make_REQ()
1093 attr_sect = NCONF_get_string(req_conf, section, ATTRIBUTES); in make_REQ()
1097 attr_sk = NCONF_get_section(req_conf, attr_sect); in make_REQ()
1192 if ((def = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) { in prompt_info()
1199 if ((value = NCONF_get_string(req_conf, dn_sect, buf)) == NULL) { in prompt_info()
1206 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_min)) { in prompt_info()
1213 if (!NCONF_get_number(req_conf, dn_sect, buf, &n_max)) { in prompt_info()
1250 if ((def = NCONF_get_string(req_conf, attr_sect, buf)) in prompt_info()
1258 if ((value = NCONF_get_string(req_conf, attr_sect, buf)) in prompt_info()
1266 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_min)) { in prompt_info()
1273 if (!NCONF_get_number(req_conf, attr_sect, buf, &n_max)) { in prompt_info()