summaryrefslogtreecommitdiff
path: root/ext/mcrypt
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-09-08 10:00:47 +0000
committerPierre Joye <pajoye@php.net>2011-09-08 10:00:47 +0000
commit567fb34eb392b7cbc4d981b4d8983a8a6adf5f26 (patch)
tree781567559651cb33634db0cd08533323187e9e8a /ext/mcrypt
parent7e986b2a463bf407a466f91210a49eb0faa75b31 (diff)
downloadphp-git-567fb34eb392b7cbc4d981b4d8983a8a6adf5f26.tar.gz
- skip if no hash
Diffstat (limited to 'ext/mcrypt')
-rw-r--r--ext/mcrypt/tests/bug43143.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mcrypt/tests/bug43143.phpt b/ext/mcrypt/tests/bug43143.phpt
index 4c390439e0..d9fccf3c85 100644
--- a/ext/mcrypt/tests/bug43143.phpt
+++ b/ext/mcrypt/tests/bug43143.phpt
@@ -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";