summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lowrey <rdlowrey@php.net>2014-02-24 13:40:43 -0700
committerDaniel Lowrey <rdlowrey@php.net>2014-02-25 09:59:13 -0700
commit47b5873c5d0263e8e5feb4457df3594ddf3b4eda (patch)
treea734c5224bd3d5c7b328db15a8c8949e6d8b2b54
parentaad7b724721c01f6269951511ee4c92843f56e0c (diff)
downloadphp-git-47b5873c5d0263e8e5feb4457df3594ddf3b4eda.tar.gz
Change openssl directives to PHP_INI_PERDIR
Because openssl.cafile and openssl.capath have implications for security these directives have been changed to PHP_INI_PERDIR (previously PHP_INI_ALL)
-rwxr-xr-xext/openssl/openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index e649fca795..c5588f9d6f 100755
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -1099,8 +1099,8 @@ static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo) { /* {
/* {{{ INI Settings */
PHP_INI_BEGIN()
- PHP_INI_ENTRY("openssl.cafile", NULL, PHP_INI_ALL, NULL)
- PHP_INI_ENTRY("openssl.capath", NULL, PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("openssl.cafile", NULL, PHP_INI_PERDIR, NULL)
+ PHP_INI_ENTRY("openssl.capath", NULL, PHP_INI_PERDIR, NULL)
PHP_INI_END()
/* }}} */