Lines Matching refs:req_conf
152 static CONF *req_conf=NULL;
203 req_conf = NULL;
570 req_conf=NCONF_new(NULL);
571 i=NCONF_load(req_conf,template,&errline);
580 req_conf=config;
582 if (req_conf == NULL)
593 if (req_conf != NULL)
595 if (!load_config(bio_err, req_conf))
597 p=NCONF_get_string(req_conf,NULL,"oid_file");
619 if(!add_oid_section(bio_err, req_conf)) goto end;
623 p=NCONF_get_string(req_conf,SECTION,"default_md");
635 extensions = NCONF_get_string(req_conf, SECTION, V3_EXTENSIONS);
643 X509V3_set_nconf(&ctx, req_conf);
644 if(!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) {
653 passin = NCONF_get_string(req_conf, SECTION, "input_password");
660 passout = NCONF_get_string(req_conf, SECTION, "output_password");
665 p = NCONF_get_string(req_conf, SECTION, STRING_MASK);
676 p = NCONF_get_string(req_conf, SECTION, UTF8_IN);
686 req_exts = NCONF_get_string(req_conf, SECTION, REQ_EXTENSIONS);
694 X509V3_set_nconf(&ctx, req_conf);
695 if(!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) {
725 char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
737 char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
746 if (!NCONF_get_number(req_conf,SECTION,BITS, &newkey))
804 keyout=NCONF_get_string(req_conf,SECTION,KEYFILE);
830 p=NCONF_get_string(req_conf,SECTION,"encrypt_rsa_key");
834 p=NCONF_get_string(req_conf,SECTION,"encrypt_key");
958 X509V3_set_nconf(&ext_ctx, req_conf);
961 if(extensions && !X509V3_EXT_add_nconf(req_conf,
980 X509V3_set_nconf(&ext_ctx, req_conf);
983 if(req_exts && !X509V3_EXT_REQ_add_nconf(req_conf,
1181 if ((req_conf != NULL) && (req_conf != config)) NCONF_free(req_conf);
1209 tmp=NCONF_get_string(req_conf,SECTION,PROMPT);
1214 dn_sect=NCONF_get_string(req_conf,SECTION,DISTINGUISHED_NAME);
1221 dn_sk=NCONF_get_section(req_conf,dn_sect);
1228 attr_sect=NCONF_get_string(req_conf,SECTION,ATTRIBUTES);
1236 attr_sk=NCONF_get_section(req_conf,attr_sect);
1354 if ((def=NCONF_get_string(req_conf,dn_sect,buf)) == NULL)
1361 if ((value=NCONF_get_string(req_conf,dn_sect,buf)) == NULL)
1368 if (!NCONF_get_number(req_conf,dn_sect,buf, &n_min))
1375 if (!NCONF_get_number(req_conf,dn_sect,buf, &n_max))
1419 if ((def=NCONF_get_string(req_conf,attr_sect,buf))
1428 if ((value=NCONF_get_string(req_conf,attr_sect,buf))
1436 if (!NCONF_get_number(req_conf,attr_sect,buf, &n_min))
1440 if (!NCONF_get_number(req_conf,attr_sect,buf, &n_max))