From a4215321cb7142ab146923739b48ca333d5edc1d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Jun 2019 14:27:37 +0200 Subject: [PATCH] also ignore crc32c which is 7.4+ only --- tests/etag001.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2