From: Remi Collet Date: Thu, 6 Jun 2019 12:27:37 +0000 (+0200) Subject: also ignore crc32c which is 7.4+ only X-Git-Tag: RELEASE_3_2_1~4 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=a4215321cb7142ab146923739b48ca333d5edc1d also ignore crc32c which is 7.4+ only --- diff --git a/tests/etag001.phpt b/tests/etag001.phpt index e5e3d4a..a7afd14 100644 --- 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,