From: Daniel Lowrey Date: Mon, 24 Feb 2014 20:40:43 +0000 (-0700) Subject: Change openssl directives to PHP_INI_PERDIR X-Git-Tag: php-5.6.0alpha3~1^2~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47b5873c5d0263e8e5feb4457df3594ddf3b4eda;p=php 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) --- 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() /* }}} */