diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 828a5aa8..6e679e22 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -1349,7 +1349,7 @@ class Net_SSH2 { case 'twofish192-ctr': case 'twofish256-ctr': $this->encrypt = new Crypt_Twofish(CRYPT_TWOFISH_MODE_CTR); - $this->decrypt_block_size = 16; + $this->encrypt_block_size = 16; break; case 'arcfour': case 'arcfour128': @@ -3280,4 +3280,4 @@ class Net_SSH2 { } return $this->exit_status; } -} \ No newline at end of file +}