diff options
Diffstat (limited to 'src/lib/math/bigint/big_ops2.cpp')
-rw-r--r-- | src/lib/math/bigint/big_ops2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/math/bigint/big_ops2.cpp b/src/lib/math/bigint/big_ops2.cpp index eea6a8590..212a44fa0 100644 --- a/src/lib/math/bigint/big_ops2.cpp +++ b/src/lib/math/bigint/big_ops2.cpp @@ -189,6 +189,7 @@ BigInt& BigInt::square(secure_vector<word>& ws) ws.data(), ws.size()); swap_reg(z); + set_sign(BigInt::Positive); return (*this); } |