summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/bug49738.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/tests/bug49738.phpt')
-rw-r--r--ext/mcrypt/tests/bug49738.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/mcrypt/tests/bug49738.phpt b/ext/mcrypt/tests/bug49738.phpt
deleted file mode 100644
index 713f6efa15..0000000000
--- a/ext/mcrypt/tests/bug49738.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes)
---SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
---FILE--
-<?php
- $td = mcrypt_module_open(MCRYPT_DES, '', MCRYPT_MODE_ECB, '');
- mcrypt_generic_init($td, 'aaaaaaaa', 'aaaaaaaa');
- mcrypt_generic_deinit($td);
- echo mcrypt_generic($td, 'aaaaaaaa');
-?>
---EXPECTF--
-Deprecated: Function mcrypt_module_open() is deprecated in %s%ebug49738.php on line 2
-
-Deprecated: Function mcrypt_generic_init() is deprecated in %s%ebug49738.php on line 3
-
-Deprecated: Function mcrypt_generic_deinit() is deprecated in %s%ebug49738.php on line 4
-
-Deprecated: Function mcrypt_generic() is deprecated in %s%ebug49738.php on line 5
-
-Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug49738.php on line 5