From fb41f3492b931bc7c59ef9af32a93cc28b0d6797 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 17 Jan 2015 09:56:32 -0600 Subject: [PATCH] Tests/TripleDES: fix syntax error --- tests/Unit/Crypt/TripleDESTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Crypt/TripleDESTest.php b/tests/Unit/Crypt/TripleDESTest.php index d317f716..d86115e1 100644 --- a/tests/Unit/Crypt/TripleDESTest.php +++ b/tests/Unit/Crypt/TripleDESTest.php @@ -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');