diff --git a/phpseclib/Crypt/Base.php b/phpseclib/Crypt/Base.php index 04309d81..c14cbf3e 100644 --- a/phpseclib/Crypt/Base.php +++ b/phpseclib/Crypt/Base.php @@ -365,7 +365,7 @@ abstract class Base * @access private */ var $cipher_name_openssl; - + /** * The openssl specific name of the cipher in ECB mode * @@ -430,7 +430,7 @@ abstract class Base * @access private */ var $openssl_emulate_ctr = false; - + /** * Determines what options are passed to openssl_encrypt/decrypt * diff --git a/phpseclib/Crypt/RC2.php b/phpseclib/Crypt/RC2.php index c7855c94..1a0c53d6 100644 --- a/phpseclib/Crypt/RC2.php +++ b/phpseclib/Crypt/RC2.php @@ -314,7 +314,6 @@ class RC2 extends Base { $this->orig_key = $key; - if ($t1 <= 0) { $t1 = $this->default_key_length; } else if ($t1 > 1024) {