fix tests for master
[m6w6/ext-http] / tests / etag001.phpt
index e23bd0a0e8a687bedce79ee6586ecb587181a4e9..e5e3d4a84cc97d56a0891029f530be1e01e7c197 100644 (file)
@@ -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)) {
         ini_set("http.etag.mode", $algo);
         printf("%10s: %s\n",
             $algo,