Skip to content

Commit 1ff2705

Browse files
committed
Fix bug #73961 environmental build dependency in hash sha3 source
1 parent 3020be6 commit 1ff2705

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ PHP NEWS
2222

2323
- Hash:
2424
. Added hash_hkdf() function. (Andrey Andreev)
25+
. Fixed bug #73961 (environmental build dependency in hash sha3 source).
26+
(krakjoe)
2527

2628
- Intl:
2729
. Fix bug #73956 (Link use CC instead of CXX). (Remi)

ext/hash/hash_sha3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
+----------------------------------------------------------------------+
1717
*/
1818

19+
#include "php_hash.h"
1920
#include "php_hash_sha3.h"
2021

2122
#if (defined(__APPLE__) || defined(__APPLE_CC__)) && \

ext/hash/php_hash_sha3.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#define PHP_HASH_SHA3_H
2121

2222
#include "php.h"
23-
#include "ext/hash/php_hash.h"
2423

2524
typedef struct {
2625
unsigned char state[200]; // 5 * 5 * sizeof(uint64)

0 commit comments

Comments
 (0)