Browse Source

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)
pull/604/head
Daniel Lowrey 13 years ago
parent
commit
47b5873c5d
  1. 4
      ext/openssl/openssl.c

4
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()
/* }}} */

Loading…
Cancel
Save