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
commit255913f5f4a9ef6033002e445c83647f4ea8d4d2 (patch)
tree80f8f276ae9c43d0d6d5437a4c0fc70a46727c0a /ext/mcrypt
parent41db75ccbe0603f80ca4ce388ec8224a0e38c36c (diff)
downloadphp-git-255913f5f4a9ef6033002e445c83647f4ea8d4d2.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";