Skip to content

Commit ce4e07e

Browse files
committed
Add missing NEWS entry, update UPGRADING
This was done back in January, but never noted in the NEWS file. References: php#2312 php#2321
1 parent babc3c5 commit ce4e07e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ PHP NEWS
235235
. Fixed bug #73961 (environmental build dependency in hash sha3 source).
236236
(krakjoe)
237237
. Changed HashContext from resource to object. (Rouven Weßling, Sara)
238+
. Disallowed usage of non-cryptographic hash functions with HMAC and PBKDF2.
239+
(Andrey Andreev, Nikita)
238240

239241
- intl:
240242
. Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa)

UPGRADING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ PHP 7.2 UPGRADE NOTES
4949
example `bcmod('4', '3.5')` now returns '0.5' instead of '1'.
5050

5151
- Hash:
52-
. The hash_hmac(), hash_hmac_file() and hash_pbkdf2() functions no longer
53-
accept non-cryptographic hashes.
52+
. The hash_hmac(), hash_hmac_file(), hash_pbkdf2() and hash_init() (with
53+
HASH_HMAC) functions no longer accept non-cryptographic hashes.
5454

5555
- JSON
5656
. The json_decode() option JSON_OBJECT_AS_ARRAY is used if the second

0 commit comments

Comments
 (0)