projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
48c7671
)
also ignore crc32c which is 7.4+ only
author
Remi Collet
<remi@remirepo.net>
Thu, 6 Jun 2019 12:27:37 +0000
(14:27 +0200)
committer
Remi Collet
<remi@remirepo.net>
Thu, 6 Jun 2019 12:27:37 +0000
(14:27 +0200)
tests/etag001.phpt
patch
|
blob
|
history
diff --git
a/tests/etag001.phpt
b/tests/etag001.phpt
index e5e3d4a84cc97d56a0891029f530be1e01e7c197..a7afd14fccd48b757dfea6f5a4a420a537d948ea 100644
(file)
--- a/
tests/etag001.phpt
+++ b/
tests/etag001.phpt
@@
-10,7
+10,7
@@
_ext("hash");
$body = new http\Message\Body;
$body->append("Hello, my old fellow.");
foreach (hash_algos() as $algo) {
- if (strncmp($algo, "sha3-", 5) && strncmp($algo, "sha512/", 7)) {
+ if (strncmp($algo, "sha3-", 5) && strncmp($algo, "sha512/", 7)
&& strcmp($algo, "crc32c")
) {
ini_set("http.etag.mode", $algo);
printf("%10s: %s\n",
$algo,