From c69cc95a6c0615ce9e5fd3363957ab8bea287d66 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 5 Sep 2015 12:27:12 -0400 Subject: [PATCH] Typo in variable name See https://github.com/phpseclib/phpseclib/commit/01e7c65f07c2a94764b5a61eb374fb926000acb7 Signed-off-by: Marc Delisle --- libraries/phpseclib/Crypt/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/phpseclib/Crypt/Base.php b/libraries/phpseclib/Crypt/Base.php index 715ab2a5da..f26561e549 100644 --- a/libraries/phpseclib/Crypt/Base.php +++ b/libraries/phpseclib/Crypt/Base.php @@ -957,7 +957,7 @@ abstract class Base break; case self::MODE_ECB: if (!defined('OPENSSL_RAW_DATA')) { - $ciphetext.= openssl_encrypt('', $this->cipher_name_openssl_ecb, $this->key, true); + $ciphertext.= openssl_encrypt('', $this->cipher_name_openssl_ecb, $this->key, true); } $plaintext = openssl_decrypt($ciphertext, $this->cipher_name_openssl, $this->key, $this->openssl_options); break;