Lines Matching refs:req_config
629 CONF *req_config; /* SSL config for this request */ member
884 str = php_openssl_conf_get_string(req->req_config, NULL, "oid_section"); in php_openssl_add_oid_section()
888 sktmp = NCONF_get_section(req->req_config, str); in php_openssl_add_oid_section()
912 req->config_filename, req->var, req->req_config) == FAILURE) return FAILURE
964 req->req_config = NCONF_new(NULL); in php_openssl_parse_config()
965 if (!NCONF_load(req->req_config, req->config_filename, NULL)) { in php_openssl_parse_config()
970 str = php_openssl_conf_get_string(req->req_config, NULL, "oid_file"); in php_openssl_parse_config()
983 php_openssl_conf_get_string(req->req_config, req->section_name, "default_md")); in php_openssl_parse_config()
985 php_openssl_conf_get_string(req->req_config, req->section_name, "x509_extensions")); in php_openssl_parse_config()
987 php_openssl_conf_get_string(req->req_config, req->section_name, "req_extensions")); in php_openssl_parse_config()
989 php_openssl_conf_get_number(req->req_config, req->section_name, "default_bits")); in php_openssl_parse_config()
995 str = php_openssl_conf_get_string(req->req_config, req->section_name, "encrypt_rsa_key"); in php_openssl_parse_config()
997 str = php_openssl_conf_get_string(req->req_config, req->section_name, "encrypt_key"); in php_openssl_parse_config()
1025 req->digest_name = php_openssl_conf_get_string(req->req_config, req->section_name, "default_md"); in php_openssl_parse_config()
1054 str = php_openssl_conf_get_string(req->req_config, req->section_name, "string_mask"); in php_openssl_parse_config()
1076 if (req->req_config) { in php_openssl_dispose_config()
1077 NCONF_free(req->req_config); in php_openssl_dispose_config()
1078 req->req_config = NULL; in php_openssl_dispose_config()
2924 dn_sect = NCONF_get_string(req->req_config, req->section_name, "distinguished_name"); in php_openssl_csr_make()
2929 dn_sk = NCONF_get_section(req->req_config, dn_sect); in php_openssl_csr_make()
2934 attr_sect = php_openssl_conf_get_string(req->req_config, req->section_name, "attributes"); in php_openssl_csr_make()
2938 attr_sk = NCONF_get_section(req->req_config, attr_sect); in php_openssl_csr_make()
3375 X509V3_set_nconf(&ctx, req.req_config); in PHP_FUNCTION()
3376 if (!X509V3_EXT_add_nconf(req.req_config, &ctx, req.extensions_section, new_cert)) { in PHP_FUNCTION()
3450 X509V3_set_nconf(&ext_ctx, req.req_config); in PHP_FUNCTION()
3453 if (req.request_extensions_section && !X509V3_EXT_REQ_add_nconf(req.req_config, in PHP_FUNCTION()
3815 char *randfile = php_openssl_conf_get_string(req->req_config, req->section_name, "RANDFILE"); in php_openssl_generate_private_key()