From 3290711a823fd5c361ca4fb582f15f3e5754a40c Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 18 Sep 2017 21:05:26 -0400 Subject: [PATCH] Clear duplicate symbol warning from AIX linker --- eccrypto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eccrypto.cpp b/eccrypto.cpp index 92106052..32b286dc 100644 --- a/eccrypto.cpp +++ b/eccrypto.cpp @@ -47,7 +47,7 @@ static void ECDSA_TestInstantiations() #endif ANONYMOUS_NAMESPACE_BEGIN -Integer ConvertToInteger(const PolynomialMod2 &x) +inline Integer ConvertToInteger(const PolynomialMod2 &x) { unsigned int l = x.ByteCount(); SecByteBlock temp(l); @@ -60,7 +60,7 @@ inline Integer ConvertToInteger(const Integer &x) return x; } -bool CheckMOVCondition(const Integer &q, const Integer &r) +inline bool CheckMOVCondition(const Integer &q, const Integer &r) { // see "Updated standards for validating elliptic curves", http://eprint.iacr.org/2007/343 Integer t = 1;