diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:32:07 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:32:07 -0500 |
commit | 40230dd3bf5400ec3fda20cc791fb05c7a1c5b62 (patch) | |
tree | 834a1ab74d205c54d55b801d5dc1ab949ebc5bca /hmqv.h | |
parent | 6eb2792bc26aebc83924e7e7be28c0444dca506c (diff) | |
download | cryptopp-git-40230dd3bf5400ec3fda20cc791fb05c7a1c5b62.tar.gz |
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)
Diffstat (limited to 'hmqv.h')
-rw-r--r-- | hmqv.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -27,9 +27,7 @@ public: typedef typename GroupParameters::Element Element;
typedef HMQV_Domain<GROUP_PARAMETERS, COFACTOR_OPTION, HASH> Domain;
-#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
- virtual ~HMQV_Domain() {}
-#endif
+ virtual ~HMQV_Domain() {}
HMQV_Domain(bool clientRole = true): m_role(clientRole ? RoleClient : RoleServer) {}
@@ -258,7 +256,7 @@ protected: if(sigma)
{
if (e1len != 0 || s1len != 0) {
- CRYPTOPP_ASSERT(0);
+ CRYPTOPP_ASSERT(0);
}
Integer x = GetAbstractGroupParameters().ConvertElementToInteger(*sigma);
SecByteBlock sbb(x.MinEncodedSize());
@@ -266,7 +264,7 @@ protected: hash.Update(sbb.BytePtr(), sbb.SizeInBytes());
} else {
if (e1len == 0 || s1len == 0) {
- CRYPTOPP_ASSERT(0);
+ CRYPTOPP_ASSERT(0);
}
hash.Update(e1, e1len);
hash.Update(s1, s1len);
|