summaryrefslogtreecommitdiff
path: root/eccrypto.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-18 21:05:26 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-18 21:05:26 -0400
commit3290711a823fd5c361ca4fb582f15f3e5754a40c (patch)
tree3371447c5625b454e300b042acee5eacbdf304df /eccrypto.cpp
parent923cf9557191427dd1f22a11d425660933b6c57e (diff)
downloadcryptopp-git-3290711a823fd5c361ca4fb582f15f3e5754a40c.tar.gz
Clear duplicate symbol warning from AIX linker
Diffstat (limited to 'eccrypto.cpp')
-rw-r--r--eccrypto.cpp4
1 files 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;