mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-28 01:28:27 +00:00
SSH2: Blowfish: typo... block_size adjustment
Changed: Blowfish block_size = 8 re: https://github.com/phpseclib/phpseclib/pull/100
This commit is contained in:
parent
c89db52e39
commit
fe0cc95265
@ -1355,7 +1355,7 @@ class Net_SSH2 {
|
||||
break;
|
||||
case 'blowfish-cbc':
|
||||
$this->encrypt = new Crypt_Blowfish();
|
||||
$this->encrypt_block_size = 16;
|
||||
$this->encrypt_block_size = 8;
|
||||
break;
|
||||
case 'blowfish-ctr':
|
||||
$this->encrypt = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR);
|
||||
@ -1408,7 +1408,7 @@ class Net_SSH2 {
|
||||
break;
|
||||
case 'blowfish-ctr':
|
||||
$this->decrypt = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR);
|
||||
$this->decrypt_block_size = 16;
|
||||
$this->decrypt_block_size = 8;
|
||||
break;
|
||||
case 'twofish128-cbc':
|
||||
case 'twofish192-cbc':
|
||||
@ -3311,4 +3311,4 @@ class Net_SSH2 {
|
||||
}
|
||||
return $this->exit_status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user