summaryrefslogtreecommitdiff
path: root/validat0.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-03-26 13:31:18 -0400
committerJeffrey Walton <noloader@gmail.com>2018-03-26 13:31:18 -0400
commita665e0825fa2b23adbd8ec3173da512b553e86f4 (patch)
tree120bf0cf55dafb716ac51769da7ba805601f03f4 /validat0.cpp
parent302d210ceb46ea9dab34499912dd4c29232cb076 (diff)
downloadcryptopp-git-a665e0825fa2b23adbd8ec3173da512b553e86f4.tar.gz
Use '*this >= m' for InverseMod reduction
The previous test used '*this > m', which did not capture 'm'
Diffstat (limited to 'validat0.cpp')
-rw-r--r--validat0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/validat0.cpp b/validat0.cpp
index fc9a2c5b..9f03533c 100644
--- a/validat0.cpp
+++ b/validat0.cpp
@@ -3374,7 +3374,7 @@ bool TestIntegerOps()
// ******************** Integer Modulo and InverseMod ********************
// http://github.com/weidai11/cryptopp/issues/602
- // The bug report that uncovered the InverseMod problems
+ // The bug report that uncovered the InverseMod problems
{
Integer a("0x2F0500010000018000000000001C1C000000000000000A000B0000000000000000000000000000FDFFFFFF00000000");
Integer b("0x3D2F050001");