Lines Matching refs:req_conf
153 static CONF *req_conf=NULL; variable
197 req_conf = NULL; in MAIN()
468 req_conf=NCONF_new(NULL); in MAIN()
469 i=NCONF_load(req_conf,template,&errline); in MAIN()
478 req_conf=config; in MAIN()
480 if (req_conf == NULL) in MAIN()
491 if (req_conf != NULL) in MAIN()
493 if (!load_config(bio_err, req_conf)) in MAIN()
495 p=NCONF_get_string(req_conf,NULL,"oid_file"); in MAIN()
517 if(!add_oid_section(bio_err, req_conf)) goto end; in MAIN()
521 p=NCONF_get_string(req_conf,SECTION,"default_md"); in MAIN()
533 extensions = NCONF_get_string(req_conf, SECTION, V3_EXTENSIONS); in MAIN()
541 X509V3_set_nconf(&ctx, req_conf); in MAIN()
542 if(!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) { in MAIN()
551 passin = NCONF_get_string(req_conf, SECTION, "input_password"); in MAIN()
558 passout = NCONF_get_string(req_conf, SECTION, "output_password"); in MAIN()
563 p = NCONF_get_string(req_conf, SECTION, STRING_MASK); in MAIN()
574 p = NCONF_get_string(req_conf, SECTION, UTF8_IN); in MAIN()
584 req_exts = NCONF_get_string(req_conf, SECTION, REQ_EXTENSIONS); in MAIN()
592 X509V3_set_nconf(&ctx, req_conf); in MAIN()
593 if(!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) { in MAIN()
622 char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE"); in MAIN()
631 char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE"); in MAIN()
648 if (!NCONF_get_number(req_conf,SECTION,BITS, &newkey)) in MAIN()
703 keyout=NCONF_get_string(req_conf,SECTION,KEYFILE); in MAIN()
729 p=NCONF_get_string(req_conf,SECTION,"encrypt_rsa_key"); in MAIN()
733 p=NCONF_get_string(req_conf,SECTION,"encrypt_key"); in MAIN()
850 X509V3_set_nconf(&ext_ctx, req_conf); in MAIN()
853 if(extensions && !X509V3_EXT_add_nconf(req_conf, in MAIN()
875 X509V3_set_nconf(&ext_ctx, req_conf); in MAIN()
878 if(req_exts && !X509V3_EXT_REQ_add_nconf(req_conf, in MAIN()
1079 if ((req_conf != NULL) && (req_conf != config)) NCONF_free(req_conf); in MAIN()
1111 tmp=NCONF_get_string(req_conf,SECTION,PROMPT); in make_REQ()
1116 dn_sect=NCONF_get_string(req_conf,SECTION,DISTINGUISHED_NAME); in make_REQ()
1123 dn_sk=NCONF_get_section(req_conf,dn_sect); in make_REQ()
1130 attr_sect=NCONF_get_string(req_conf,SECTION,ATTRIBUTES); in make_REQ()
1138 attr_sk=NCONF_get_section(req_conf,attr_sect); in make_REQ()
1256 if ((def=NCONF_get_string(req_conf,dn_sect,buf)) == NULL) in prompt_info()
1263 if ((value=NCONF_get_string(req_conf,dn_sect,buf)) == NULL) in prompt_info()
1270 if (!NCONF_get_number(req_conf,dn_sect,buf, &n_min)) in prompt_info()
1277 if (!NCONF_get_number(req_conf,dn_sect,buf, &n_max)) in prompt_info()
1321 if ((def=NCONF_get_string(req_conf,attr_sect,buf)) in prompt_info()
1330 if ((value=NCONF_get_string(req_conf,attr_sect,buf)) in prompt_info()
1338 if (!NCONF_get_number(req_conf,attr_sect,buf, &n_min)) in prompt_info()
1345 if (!NCONF_get_number(req_conf,attr_sect,buf, &n_max)) in prompt_info()