Tests/TripleDES: fix syntax error

This commit is contained in:
terrafrost 2015-01-17 09:56:32 -06:00
parent e9470d1fc5
commit fb41f3492b

View File

@ -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');