mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-02 20:08:29 +00:00
Tests/TripleDES: fix one last error
This commit is contained in:
parent
1547ec497a
commit
eaf2397cb6
@ -170,7 +170,7 @@ class Unit_Crypt_TripleDESTest extends PhpseclibTestCase
|
||||
$des = new Crypt_TripleDES(CRYPT_DES_MODE_3CBC);
|
||||
$des->setKey('abcdefghijklmnopqrstuvwx');
|
||||
|
||||
foreach ($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…
x
Reference in New Issue
Block a user