mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 10:15:14 +00:00
Tests/TripleDES: fix syntax error
This commit is contained in:
parent
e9470d1fc5
commit
fb41f3492b
@ -170,7 +170,7 @@ class Unit_Crypt_TripleDESTest extends PhpseclibTestCase
|
||||
$des = new Crypt_TripleDES(CRYPT_DES_MODE_3CBC);
|
||||
$des->setKey('abcdefghijklmnopqrstuvwx');
|
||||
|
||||
for ($this->engines as $engine->$engineName) {
|
||||
foreach ($this->engines as $engine->$engineName) {
|
||||
$des->setPreferredEngine($engine);
|
||||
if (!$des->isValidEngine($engine)) {
|
||||
self::markTestSkipped('Unable to initialize ' . $engineName . ' engine');
|
||||
|
Loading…
Reference in New Issue
Block a user