From 0835389b5a2590efcbb5af0c00a5617f440aa9a3 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 2 Apr 2015 22:39:47 -0500 Subject: [PATCH] CS adjustments --- phpseclib/Crypt/Base.php | 4 ++-- phpseclib/Crypt/RC2.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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) {