mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
Merge branch 'php7' into 2.0
Conflicts: phpseclib/Math/BigInteger.php
This commit is contained in:
commit
3f7b3b393e
@ -3519,7 +3519,7 @@ class BigInteger
|
|||||||
|
|
||||||
switch (MATH_BIGINTEGER_MODE) {
|
switch (MATH_BIGINTEGER_MODE) {
|
||||||
case self::MODE_GMP:
|
case self::MODE_GMP:
|
||||||
if (!empty($result->bitmask->value)) {
|
if ($this->bitmask !== false) {
|
||||||
$result->value = gmp_and($result->value, $result->bitmask->value);
|
$result->value = gmp_and($result->value, $result->bitmask->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user