]> granicus.if.org Git - php/commitdiff
Fix bug #73961 environmental build dependency in hash sha3 source
authorJoe Watkins <krakjoe@php.net>
Sat, 21 Jan 2017 07:45:28 +0000 (07:45 +0000)
committerJoe Watkins <krakjoe@php.net>
Sat, 21 Jan 2017 07:45:28 +0000 (07:45 +0000)
NEWS
ext/hash/hash_sha3.c
ext/hash/php_hash_sha3.h

diff --git a/NEWS b/NEWS
index baed4466b79dc8a48e14e6aa00280e5c331412e9..74af8c58d536c720b6b7c4b7ebb442bc578edbfa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,8 @@ PHP                                                                        NEWS
 
 - Hash:
   . Added hash_hkdf() function. (Andrey Andreev)
+  . Fixed bug #73961 (environmental build dependency in hash sha3 source).
+    (krakjoe)
 
 - Intl:
   . Fix bug #73956 (Link use CC instead of CXX). (Remi)
index d6eb1a0f3992e496755afdec8db0b9a424d4e8a3..d190ae430bf435cf1d02805387015b1808a668eb 100644 (file)
@@ -16,6 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
+#include "php_hash.h"
 #include "php_hash_sha3.h"
 
 #if (defined(__APPLE__) || defined(__APPLE_CC__)) && \
index e16ff214dd40cdb0cb456f3a65c9eb55a96f9096..8b70ef4a7e0ad7da7497d51d9e602126fec57653 100644 (file)
@@ -20,7 +20,6 @@
 #define PHP_HASH_SHA3_H
 
 #include "php.h"
-#include "ext/hash/php_hash.h"
 
 typedef struct {
        unsigned char state[200]; // 5 * 5 * sizeof(uint64)