php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #73961
Patch php_hash_sha3.patch revision 2017-01-19 18:38 UTC by j dot david dot lists at gmail dot com

Patch php_hash_sha3.patch for hash related Bug #73961

Patch version 2017-01-19 18:38 UTC

Return to Bug #73961 | Download this patch
Patch Revisions:

Developer: j.david.lists@gmail.com

diff --git a/ext/hash/hash_sha3.c b/ext/hash/hash_sha3.c
index d6eb1a0f39..d190ae430b 100644
--- a/ext/hash/hash_sha3.c
+++ b/ext/hash/hash_sha3.c
@@ -16,6 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
+#include "php_hash.h"
 #include "php_hash_sha3.h"
 
 #if (defined(__APPLE__) || defined(__APPLE_CC__)) && \
diff --git a/ext/hash/php_hash_sha3.h b/ext/hash/php_hash_sha3.h
index e16ff214dd..8b70ef4a7e 100644
--- a/ext/hash/php_hash_sha3.h
+++ b/ext/hash/php_hash_sha3.h
@@ -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)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 08:01:27 2024 UTC