|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73961 Build issue in hash_sha3.c
Submitted: 2017-01-19 18:38 UTC Modified: -
From: j dot david dot lists at gmail dot com Assigned:
Status: Closed Package: hash related
PHP Version: 7.1.1 OS: FreeBSD
Private report: No CVE-ID: None
 [2017-01-19 18:38 UTC] j dot david dot lists at gmail dot com
In our local build of PHP, we ran into a compile error on hash_sha3.c.

hash_sha3.c includes php_hash_sha3.h which includes "ext/hash/php_hash.h" which is not valid.

This is corrected by the attached (trivial) patch, which changes hash_sha3.c to be like the other files in the extension, which include php_hash.h first.  Doing so eliminates the environmental build dependency.


php_hash_sha3.patch (last revision 2017-01-19 18:38 UTC by j dot david dot lists at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-21 07:47 UTC]
Automatic comment on behalf of krakjoe
Log: Fix bug #73961 environmental build dependency in hash sha3 source
 [2017-01-21 07:47 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue May 30 02:03:44 2023 UTC