X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fetag001.phpt;h=a7afd14fccd48b757dfea6f5a4a420a537d948ea;hp=e23bd0a0e8a687bedce79ee6586ecb587181a4e9;hb=cbfdc466d8a364445ba3389e876b7c7e7f0189b2;hpb=ab1eba311be2f8aab98eed7a6164e79d69b402b2 diff --git a/tests/etag001.phpt b/tests/etag001.phpt index e23bd0a..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)) { + if (strncmp($algo, "sha3-", 5) && strncmp($algo, "sha512/", 7) && strcmp($algo, "crc32c")) { ini_set("http.etag.mode", $algo); printf("%10s: %s\n", $algo,