mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:27:36 +00:00
LibCrypto: Parse negative input correctly in BigFraction::from_string()
Previously, when calling `BigFraction::from_string()`, the fractional part of the number was always treated as positive. This led to an incorrect result if the input string was negative.
This commit is contained in:
parent
e0fd5beb36
commit
d545fb2b60
3 changed files with 32 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
set(TEST_SOURCES
|
||||
TestAES.cpp
|
||||
TestASN1.cpp
|
||||
TestBigFraction.cpp
|
||||
TestBigInteger.cpp
|
||||
TestChecksum.cpp
|
||||
TestChaCha20.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue