mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-12 16:36:30 +00:00
BigInteger: toBits(true) wasn't working correctly
This commit is contained in:
parent
0e874f1d21
commit
114dc17f5b
@ -232,7 +232,7 @@ class BigInteger implements \Serializable
|
|||||||
*/
|
*/
|
||||||
function toBits($twos_compliment = false)
|
function toBits($twos_compliment = false)
|
||||||
{
|
{
|
||||||
return $this->value->toBits();
|
return $this->value->toBits($twos_compliment);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user