]> granicus.if.org Git - php/commitdiff
Change openssl directives to PHP_INI_PERDIR
authorDaniel Lowrey <rdlowrey@php.net>
Mon, 24 Feb 2014 20:40:43 +0000 (13:40 -0700)
committerDaniel Lowrey <rdlowrey@php.net>
Tue, 25 Feb 2014 16:59:13 +0000 (09:59 -0700)
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

index e649fca79573ceea55648dcca06c4f5f2bab400d..c5588f9d6f3aa0c4e9623f8e7b3d78b81f3c8a8b 100755 (executable)
@@ -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()
 /* }}} */