1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 09:38:06 +01:00

Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2022-07-31 19:34:49 -05:00
commit 7fbd6d5fef

View File

@ -1580,7 +1580,7 @@ abstract class SymmetricKey
$plaintext = ''; $plaintext = '';
if ($this->continuousBuffer) { if ($this->continuousBuffer) {
$iv = &$this->decryptIV; $iv = &$this->decryptIV;
$pos = &$this->buffer['pos']; $pos = &$this->debuffer['pos'];
} else { } else {
$iv = $this->decryptIV; $iv = $this->decryptIV;
$pos = 0; $pos = 0;