diff options
author | Remi Collet <remi@php.net> | 2014-03-14 09:50:15 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-03-14 09:50:15 +0100 |
commit | 17f6391bf8bc5e0e74ea981c795455a18826ed35 (patch) | |
tree | 13fd52798041cd0c34272895af332c6b6c014b67 /ext/pcre/php_pcre.c | |
parent | 737c187013624122584ed6d18a39a34599717458 (diff) | |
download | php-git-17f6391bf8bc5e0e74ea981c795455a18826ed35.tar.gz |
Fixed Bug #66833 Default digest algo is still MD5
Switch to SHA1, which match internal openssl hardcoded algo.
In most case, won't even be noticed
- priority on user input (default_md)
- fallback on system config
- fallback on this default value
Recent system reject MD5 digest, noticed in bug36732.phpt failure.
While SHA1 is better than MD5, SHA256 is recommenced,
and defined as default algo in provided configuration on
recent system (Fedora 21, RHEL-7, ...). But the idea is to
keep in sync with openssl internal value for PHP internal value.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions