mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
Tests/RC4: key is already packed
This commit is contained in:
parent
45a5c05da6
commit
432700db8f
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user