mirror of
https://github.com/danog/tgseclib.git
synced 2024-12-04 18:48:37 +01:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
e395a4a367
@ -2423,7 +2423,7 @@ class RSA
|
|||||||
$db = $maskedDB ^ $dbMask;
|
$db = $maskedDB ^ $dbMask;
|
||||||
$lHash2 = substr($db, 0, $this->hLen);
|
$lHash2 = substr($db, 0, $this->hLen);
|
||||||
$m = substr($db, $this->hLen);
|
$m = substr($db, $this->hLen);
|
||||||
if ($lHash != $lHash2) {
|
if (!$this->_equals($lHash, $lHash2)) {
|
||||||
user_error('Decryption error');
|
user_error('Decryption error');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user