summaryrefslogtreecommitdiff
path: root/eccrypto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eccrypto.cpp')
-rw-r--r--eccrypto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/eccrypto.cpp b/eccrypto.cpp
index a959781..5c0e19a 100644
--- a/eccrypto.cpp
+++ b/eccrypto.cpp
@@ -105,6 +105,8 @@ struct OIDLessThan
inline bool operator()(const EcRecommendedParameters<T>& a, const OID& b) {return a.oid < b;}
template <typename T>
inline bool operator()(const OID& a, const EcRecommendedParameters<T>& b) {return a < b.oid;}
+ template <typename T>
+ inline bool operator()(const EcRecommendedParameters<T>& a, const EcRecommendedParameters<T>& b) {return a.oid < b.oid;}
};
static void GetRecommendedParameters(const EcRecommendedParameters<EC2N> *&begin, const EcRecommendedParameters<EC2N> *&end)