diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:58:54 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:58:54 -0500 |
commit | bded4d385fcb74c517e35bf252ac8c6d60a0599f (patch) | |
tree | 8c879849b10b277daaf3c6eeab4d16d4bd1dcd98 /eccrypto.h | |
parent | f06c968b6203ddf4e4b21aa67bab19c20a8a850d (diff) | |
download | cryptopp-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.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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();}
|