X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fetag001.phpt;fp=tests%2Fetag001.phpt;h=a7afd14fccd48b757dfea6f5a4a420a537d948ea;hp=e5e3d4a84cc97d56a0891029f530be1e01e7c197;hb=a4215321cb7142ab146923739b48ca333d5edc1d;hpb=48c767150926050965623bff37c57e60acddc53c 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,