- removed error prone macros, fixes bug #10151 (build fails dynamic linking on Mac...
[m6w6/ext-http] / tests / etag_mode_031.phpt
index e4cd2d44eb7673981a8a2c78d1473caefedb17d4..813b309373e60b293f2f6360ef4f3a616637ee83 100644 (file)
@@ -8,7 +8,7 @@ checkmin(5.1);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', 'crc32');
+ini_set('http.etag.mode', extension_loaded('hash')?'crc32b':'crc32');
 http_cache_etag();
 http_send_data("abc\n");
 ?>