mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-06-11 21:02:24 +00:00
Crypt/Base: don't modify the IV when the mode isn't continuous for CFB
This commit is contained in:
parent
7b58268d58
commit
b24e7c3fc9
|
@ -711,7 +711,7 @@ class Crypt_Base
|
|||
$iv = &$this->encryptIV;
|
||||
$pos = &$this->enbuffer['pos'];
|
||||
} else {
|
||||
$iv = &$this->encryptIV;
|
||||
$iv = $this->encryptIV;
|
||||
$pos = 0;
|
||||
}
|
||||
$len = strlen($plaintext);
|
||||
|
|
Loading…
Reference in New Issue
Block a user