summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/bug41252.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/tests/bug41252.phpt')
-rw-r--r--ext/mcrypt/tests/bug41252.phpt17
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/mcrypt/tests/bug41252.phpt b/ext/mcrypt/tests/bug41252.phpt
deleted file mode 100644
index 3900a06fd4..0000000000
--- a/ext/mcrypt/tests/bug41252.phpt
+++ /dev/null
@@ -1,17 +0,0 @@
---TEST--
-Bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes)
---SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
---FILE--
-<?php
-$td = mcrypt_module_open(MCRYPT_DES, '', MCRYPT_MODE_ECB, '');
-echo mcrypt_generic($td,'aaaaaaaa');
-print "I'm alive!\n";
-?>
---EXPECTF--
-Deprecated: Function mcrypt_module_open() is deprecated in %s%ebug41252.php on line 2
-
-Deprecated: Function mcrypt_generic() is deprecated in %s%ebug41252.php on line 3
-
-Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug41252.php on line 3
-I'm alive!