1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00

BigInteger/GMP: fix casting error

This commit is contained in:
terrafrost 2017-11-05 12:28:16 -06:00
parent 1041131bb1
commit 5801806d23

View File

@ -484,7 +484,7 @@ class GMP extends Engine
}
if ($min->value != $x->value) {
$x = new self($x - 1);
$x = new self($x->value - 1);
}
return self::randomRangePrime($min, $x);