summaryrefslogtreecommitdiff
path: root/eccrypto.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-12-03 00:58:54 -0500
committerJeffrey Walton <noloader@gmail.com>2016-12-03 00:58:54 -0500
commitbded4d385fcb74c517e35bf252ac8c6d60a0599f (patch)
tree8c879849b10b277daaf3c6eeab4d16d4bd1dcd98 /eccrypto.h
parentf06c968b6203ddf4e4b21aa67bab19c20a8a850d (diff)
downloadcryptopp-git-bded4d385fcb74c517e35bf252ac8c6d60a0599f.tar.gz
Commented typedef guarded by CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY
The typedefs were only commented so folks could search for a missing symbol, like Crypto++ 4.0 PK_FixedLengthEncryptor or PK_FixedLengthDecryptor This is a distinct change from CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
Diffstat (limited to 'eccrypto.h')
-rw-r--r--eccrypto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/eccrypto.h b/eccrypto.h
index ca04a54e..719e277a 100644
--- a/eccrypto.h
+++ b/eccrypto.h
@@ -129,11 +129,11 @@ public:
bool operator==(const ThisClass &rhs) const
{return this->m_groupPrecomputation.GetCurve() == rhs.m_groupPrecomputation.GetCurve() && this->m_gpc.GetBase(this->m_groupPrecomputation) == rhs.m_gpc.GetBase(rhs.m_groupPrecomputation);}
-#ifdef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY
- const Point& GetBasePoint() const {return this->GetSubgroupGenerator();}
- const Integer& GetBasePointOrder() const {return this->GetSubgroupOrder();}
- void LoadRecommendedParameters(const OID &oid) {Initialize(oid);}
-#endif
+ //#ifdef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY
+ //const Point& GetBasePoint() const {return this->GetSubgroupGenerator();}
+ //const Integer& GetBasePointOrder() const {return this->GetSubgroupOrder();}
+ //void LoadRecommendedParameters(const OID &oid) {Initialize(oid);}
+ //#endif
protected:
unsigned int FieldElementLength() const {return GetCurve().GetField().MaxElementByteLength();}