Tests/TripleDES: CS adjustments

This commit is contained in:
terrafrost 2015-01-17 10:33:12 -06:00
parent eaf2397cb6
commit c90010297c

View File

@ -173,7 +173,7 @@ class Unit_Crypt_TripleDESTest extends PhpseclibTestCase
foreach ($this->engines as $engine => $engineName) {
$des->setPreferredEngine($engine);
if (!$des->isValidEngine($engine)) {
self::markTestSkipped('Unable to initialize ' . $engineName . ' engine');
self::markTestSkipped('Unable to initialize ' . $engineName . ' engine');
}
$result = bin2hex($des->encrypt(str_repeat('a', 16)));
$this->assertEquals($result, $expected, "Failed asserting inner chainin worked correctly in $engineName engine");