Tests/AES: update newest unit test

This commit is contained in:
terrafrost 2016-02-20 21:44:39 -06:00
parent ae1e5c13f9
commit 7558f097c0

View File

@ -388,7 +388,7 @@ abstract class Unit_Crypt_AES_TestCase extends PhpseclibTestCase
*/
public function testContinuousBuffer()
{
$aes = new AES();
$aes = new AES(AES::MODE_CBC);
$aes->disablePadding();
$aes->enableContinuousBuffer();
$aes->setIV(pack('H*', '0457bdb4a6712986688349a29eb82535'));