From a44b56d4b5c9a4ba7e4b6dbdc3fbd04b14339549 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 31 Jul 2022 19:29:31 -0500 Subject: [PATCH] Crypt/Base: fix PHP 8.2 deprecation error --- phpseclib/Crypt/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/Base.php b/phpseclib/Crypt/Base.php index 30dafbf3..8033394c 100644 --- a/phpseclib/Crypt/Base.php +++ b/phpseclib/Crypt/Base.php @@ -1152,7 +1152,7 @@ class Crypt_Base $plaintext = ''; if ($this->continuousBuffer) { $iv = &$this->decryptIV; - $pos = &$this->buffer['pos']; + $pos = &$this->debuffer['pos']; } else { $iv = $this->decryptIV; $pos = 0;