mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01: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)
|
||||
{
|
||||
return $this->value->toBits();
|
||||
return $this->value->toBits($twos_compliment);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user