From 47b5873c5d0263e8e5feb4457df3594ddf3b4eda Mon Sep 17 00:00:00 2001 From: Daniel Lowrey Date: Mon, 24 Feb 2014 13:40:43 -0700 Subject: [PATCH] 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) --- ext/openssl/openssl.c | 4 ++-- 1 file 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() /* }}} */ -- 2.50.1