X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fetag001.phpt;h=e5e3d4a84cc97d56a0891029f530be1e01e7c197;hp=52da9118dd3c99e05d77bcd56cbe5470532c9b7a;hb=9f18b5395f9c937105d698ce564920dc06dce8f5;hpb=e8e022a00f4cf791bc86bb6889c22c0e185c6774 diff --git a/tests/etag001.phpt b/tests/etag001.phpt index 52da911..e5e3d4a 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-", 4)) { + if (strncmp($algo, "sha3-", 5) && strncmp($algo, "sha512/", 7)) { ini_set("http.etag.mode", $algo); printf("%10s: %s\n", $algo,