Fix gh-issue #7
[m6w6/ext-http] / tests / etag001.phpt
index 4a866814a7a5697ede701700f9aa6a1f39745781..c1e1e44c897a92587198dcab8fd16bb1bf156703 100644 (file)
@@ -11,6 +11,12 @@ version_compare(PHP_VERSION, "5.4.0", ">=") or die("skip PHP>=5.4 required");
 $body = new http\Message\Body;
 $body->append("Hello, my old fellow.");
 foreach (hash_algos() as $algo) {
+    switch ($algo) {
+    case "gost-crypto":
+    case "fnv1a32":
+    case "fnv1a64":
+        continue 2;
+    }
     ini_set("http.etag.mode", $algo);
     printf("%10s: %s\n", 
         $algo,