Crypt/Base: don't modify the IV when the mode isn't continuous for CFB

This commit is contained in:
terrafrost 2015-01-01 00:27:30 -06:00
parent 7b58268d58
commit b24e7c3fc9

View File

@ -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);