From 432700db8f987956de301edfb399521576f67fa5 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 21 Dec 2014 10:16:37 -0600 Subject: [PATCH] Tests/RC4: key is already packed --- tests/Unit/Crypt/RC4Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Crypt/RC4Test.php b/tests/Unit/Crypt/RC4Test.php index 11809d72..7613d3c8 100644 --- a/tests/Unit/Crypt/RC4Test.php +++ b/tests/Unit/Crypt/RC4Test.php @@ -197,7 +197,7 @@ class Unit_Crypt_RC4Test extends PhpseclibTestCase { $rc4 = new Crypt_RC4(); $rc4->setPreferredEngine($engine); - $rc4->setKey(pack('H*', $key)); + $rc4->setKey($key); if ($rc4->getEngine() != $engine) { self::markTestSkipped('Unable to initialize ' . $engineName . ' engine for ' . (strlen($key) * 8) . '-bit key'); }