com php-src: Restore NEWS and UPGRADING for hash_equals() .: NEWS UPGRADING

From: Date: Wed, 19 Mar 2014 13:24:01 +0000
Subject: com php-src: Restore NEWS and UPGRADING for hash_equals() .: NEWS UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76538@lists.php.net to get a copy of this message
Commit: d613b0acc2969512da55cdc6649879cfa489f668 Author: Adam Harvey <aharvey@php.net> Wed, 19 Mar 2014 06:24:01 -0700 Parents: 3ce980cf9778f7795882a9c56bfe266b7488cf41 Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d613b0acc2969512da55cdc6649879cfa489f668 Log: Restore NEWS and UPGRADING for hash_equals(). Changed paths: M NEWS M UPGRADING Diff: diff --git a/NEWS b/NEWS index 708b31c..79003af 100644 --- a/NEWS +++ b/NEWS @@ -30,6 +30,8 @@ PHP NEWS - Hash: . Fixed bug #66698 (Missing FNV1a32 and FNV1a64 hash functions). (Michael M Slusarz). + .. Implemented timing attack safe string comparison function + (RFC: https://wiki.php.net/rfc/timing_attack). (Rouven Weßling) - Intl: . Fixed bug #66873 (A reproductible crash in UConverter when given invalid diff --git a/UPGRADING b/UPGRADING index 47c463c..c7dd8ee 100755 --- a/UPGRADING +++ b/UPGRADING @@ -71,6 +71,9 @@ PHP 5.6 UPGRADE NOTES - Added use function and use const. (https://wiki.php.net/rfc/use_function) +- Added a function for timing attack safe string comparison + (https://wiki.php.net/rfc/timing_attack) + - Added gost-crypto (CryptoPro S-box) hash algorithm. - Stream wrappers verify peer certificates and host names by default in @@ -208,6 +211,9 @@ PHP 5.6 UPGRADE NOTES - GMP: Added gmp_root($a, $nth) and gmp_rootrem($a, $nth) for calculating nth roots. +- Hash + Added hash_equals($known_string, $user_string) + - OpenSSL: Added string openssl_x509_fingerprint($x509, $type, $binary). Added string openssl_spki_new($private_key, $challenge, $algorithm)

« previous php.cvs (#76538) next »