summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt')
-rw-r--r--ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt27
1 files changed, 0 insertions, 27 deletions
diff --git a/ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt b/ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt
deleted file mode 100644
index 181ca49600..0000000000
--- a/ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-mcrypt_enc_is_block_algorithm_mode
---SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
---FILE--
-<?php
-$td = mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_ECB, '');
-var_dump(mcrypt_enc_is_block_algorithm_mode($td));
-$td = mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_CBC, '');
-var_dump(mcrypt_enc_is_block_algorithm_mode($td));
-$td = mcrypt_module_open(MCRYPT_WAKE, '', MCRYPT_MODE_STREAM, '');
-var_dump(mcrypt_enc_is_block_algorithm_mode($td));
---EXPECTF--
-Deprecated: Function mcrypt_module_open() is deprecated in %s%emcrypt_enc_is_block_algorithm_mode.php on line 2
-
-Deprecated: Function mcrypt_enc_is_block_algorithm_mode() is deprecated in %s%emcrypt_enc_is_block_algorithm_mode.php on line 3
-bool(true)
-
-Deprecated: Function mcrypt_module_open() is deprecated in %s%emcrypt_enc_is_block_algorithm_mode.php on line 4
-
-Deprecated: Function mcrypt_enc_is_block_algorithm_mode() is deprecated in %s%emcrypt_enc_is_block_algorithm_mode.php on line 5
-bool(true)
-
-Deprecated: Function mcrypt_module_open() is deprecated in %s%emcrypt_enc_is_block_algorithm_mode.php on line 6
-
-Deprecated: Function mcrypt_enc_is_block_algorithm_mode() is deprecated in %s%emcrypt_enc_is_block_algorithm_mode.php on line 7
-bool(false)