diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-19 10:22:16 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-19 10:22:16 -0400 |
commit | 8f59d9af3598927cd83ac0582abc0a977395f049 (patch) | |
tree | bae3021a30d906c7a3f951c5e684f942f0f7c9a9 /xtr.cpp | |
parent | 41be55ca17b67718e72d5f54ca3ebe816e3031d9 (diff) | |
download | cryptopp-git-8f59d9af3598927cd83ac0582abc0a977395f049.tar.gz |
Cleared unused variable and function warnings
Diffstat (limited to 'xtr.cpp')
-rw-r--r-- | xtr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,9 +27,9 @@ void XTR_FindPrimesAndGenerator(RandomNumberGenerator &rng, Integer &p, Integer do { bool qFound = q.Randomize(rng, minQ, maxQ, Integer::PRIME, 7, 12); - assert(qFound); + assert(qFound); CRYPTOPP_UNUSED(qFound); bool solutionsExist = SolveModularQuadraticEquation(r1, r2, 1, -1, 1, q); - assert(solutionsExist); + assert(solutionsExist); CRYPTOPP_UNUSED(solutionsExist); } while (!p.Randomize(rng, minP, maxP, Integer::PRIME, CRT(rng.GenerateBit()?r1:r2, q, 2, 3, EuclideanMultiplicativeInverse(p, 3)), 3*q)); assert(((p.Squared() - p + 1) % q).IsZero()); |