From d67d32dab06bf7ab544837c9a1664d2ee4b4f628 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 8 Jun 2016 23:41:03 -0400 Subject: [PATCH] Cleared warning 'Warning: mr hides CryptoPP::ProjectiveDoubling::mr' --- ecp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ecp.cpp b/ecp.cpp index 8c821304..c718a527 100644 --- a/ecp.cpp +++ b/ecp.cpp @@ -89,7 +89,7 @@ bool ECP::DecodePoint(ECP::Point &P, BufferedTransformation &bt, size_t encodedP Integer p = FieldSize(); P.identity = false; - P.x.Decode(bt, GetField().MaxElementByteLength()); + P.x.Decode(bt, GetField().MaxElementByteLength()); P.y = ((P.x*P.x+m_a)*P.x+m_b) % p; if (Jacobi(P.y, p) !=1) @@ -298,8 +298,8 @@ struct ProjectivePoint class ProjectiveDoubling { public: - ProjectiveDoubling(const ModularArithmetic &mr, const Integer &m_a, const Integer &m_b, const ECPPoint &Q) - : mr(mr), firstDoubling(true), negated(false) + ProjectiveDoubling(const ModularArithmetic &m_mr, const Integer &m_a, const Integer &m_b, const ECPPoint &Q) + : mr(m_mr), firstDoubling(true), negated(false) { CRYPTOPP_UNUSED(m_b); if (Q.identity)