summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/bug35496.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/tests/bug35496.phpt')
-rw-r--r--ext/mcrypt/tests/bug35496.phpt14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/mcrypt/tests/bug35496.phpt b/ext/mcrypt/tests/bug35496.phpt
deleted file mode 100644
index 9d94ba4ca9..0000000000
--- a/ext/mcrypt/tests/bug35496.phpt
+++ /dev/null
@@ -1,14 +0,0 @@
---TEST--
-Bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic() without proper init).
---SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
---FILE--
-<?php
-$td = mcrypt_module_open('rijndael-256', '', 'ofb', '');
-mcrypt_generic($td, "foobar");
-mdecrypt_generic($td, "baz");
-?>
---EXPECTF--
-Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %s/bug35496.php on line 3
-
-Warning: mdecrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %s/bug35496.php on line 4