]> granicus.if.org Git - php/commitdiff
- skip if no hash
authorPierre Joye <pajoye@php.net>
Thu, 8 Sep 2011 10:00:47 +0000 (10:00 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 8 Sep 2011 10:00:47 +0000 (10:00 +0000)
ext/mcrypt/tests/bug43143.phpt

index 4c390439e02bdb91564b803c6478d01842cbd58d..d9fccf3c85bd21db41de66a396d4b4639e5a9e83 100644 (file)
@@ -1,7 +1,8 @@
 --TEST--
 Bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB)
 --SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
+<?php if (!extension_loaded("mcrypt")) print "skip"; 
+if (!extension_loaded("hash")) print "skip"; ?>
 --FILE--
 <?php
 echo "ECB\n";