mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-18 03:05:11 +00:00
Tests: fix CS errors
This commit is contained in:
parent
de18148e80
commit
ce2bfd984e
@ -190,11 +190,11 @@ class Unit_Crypt_TripleDESTest extends PhpseclibTestCase
|
|||||||
// test special case lambda function error
|
// test special case lambda function error
|
||||||
public function testCorrectSelfUseInLambda()
|
public function testCorrectSelfUseInLambda()
|
||||||
{
|
{
|
||||||
$td = new TripleDES( TripleDES::MODE_ECB );
|
$td = new TripleDES(TripleDES::MODE_ECB);
|
||||||
$td->setPreferredEngine( TripleDES::ENGINE_INTERNAL );
|
$td->setPreferredEngine(TripleDES::ENGINE_INTERNAL);
|
||||||
for ( $i = 0; $i < 20; $i++ ) {
|
for ($i = 0; $i < 20; $i++) {
|
||||||
$td->setKey( str_repeat( 'a', 20 ) . pack( 'V', mt_rand() ) );
|
$td->setKey(str_repeat('a', 20) . pack('V', mt_rand()));
|
||||||
$td->encrypt( str_repeat( 'a', 32 ) );
|
$td->encrypt(str_repeat('a', 32));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user