aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/bigint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/bigint/bigint.cpp')
-rw-r--r--src/lib/math/bigint/bigint.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/math/bigint/bigint.cpp b/src/lib/math/bigint/bigint.cpp
index 45c351256..059b019e4 100644
--- a/src/lib/math/bigint/bigint.cpp
+++ b/src/lib/math/bigint/bigint.cpp
@@ -18,8 +18,6 @@ namespace Botan {
*/
BigInt::BigInt(u64bit n)
{
- set_sign(Positive);
-
if(n == 0)
return;
@@ -82,7 +80,6 @@ BigInt::BigInt(const std::string& str)
*/
BigInt::BigInt(const byte input[], size_t length, Base base)
{
- set_sign(Positive);
*this = decode(input, length, base);
}
@@ -91,7 +88,6 @@ BigInt::BigInt(const byte input[], size_t length, Base base)
*/
BigInt::BigInt(RandomNumberGenerator& rng, size_t bits)
{
- set_sign(Positive);
randomize(rng, bits);
}