blob: 928c542aee6e664b63314005d0b0e6e2a168d3bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Bug #67707 IV not needed for ECB encryption mode, but it returns a warning
--SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
$td = mcrypt_module_open('rijndael-256', '', 'ecb', '');
mcrypt_generic_init($td, 'secret key', NULL);
?>
--EXPECTF--
Deprecated: Function mcrypt_module_open() is deprecated in %s on line %d
Deprecated: Function mcrypt_generic_init() is deprecated in %s on line %d
|