summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/bug67707.phpt
blob: 9ba13ab0acd6393c5aff303ef859a8537fad6af3 (plain)
1
2
3
4
5
6
7
8
9
10
--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--