mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 18:25:13 +00:00
Tests/TripleDES: another syntax error
This commit is contained in:
parent
fb41f3492b
commit
1547ec497a
@ -175,7 +175,7 @@ class Unit_Crypt_TripleDESTest extends PhpseclibTestCase
|
|||||||
if (!$des->isValidEngine($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));
|
$result = bin2hex($des->encrypt(str_repeat('a', 16)));
|
||||||
$this->assertEquals($result, $expected, "Failed asserting inner chainin worked correctly in $engineName engine");
|
$this->assertEquals($result, $expected, "Failed asserting inner chainin worked correctly in $engineName engine");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user