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
commit0e05312d03a1691024ab0ee4207692f6fcbf4bef (patch)
tree8f8f793c79b8eed9e5a46a48de81cf983ce84e75 /ext/mcrypt
parentcf11413db3326a5f1a578444907d251f55cb8aaa (diff)
downloadphp-git-0e05312d03a1691024ab0ee4207692f6fcbf4bef.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";