summaryrefslogtreecommitdiff
path: root/strciphr.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-12-03 00:32:07 -0500
committerJeffrey Walton <noloader@gmail.com>2016-12-03 00:32:07 -0500
commit40230dd3bf5400ec3fda20cc791fb05c7a1c5b62 (patch)
tree834a1ab74d205c54d55b801d5dc1ab949ebc5bca /strciphr.h
parent6eb2792bc26aebc83924e7e7be28c0444dca506c (diff)
downloadcryptopp-git-40230dd3bf5400ec3fda20cc791fb05c7a1c5b62.tar.gz
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)
Diffstat (limited to 'strciphr.h')
-rw-r--r--strciphr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/strciphr.h b/strciphr.h
index 9d1e093a..a45a4c3e 100644
--- a/strciphr.h
+++ b/strciphr.h
@@ -66,9 +66,7 @@ template <class POLICY, class BASE, class POLICY_INTERFACE = CPP_TYPENAME BASE::
class ConcretePolicyHolder : public BASE, protected POLICY
{
public:
-#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
virtual ~ConcretePolicyHolder() {}
-#endif
protected:
const POLICY_INTERFACE & GetPolicy() const {return *this;}
POLICY_INTERFACE & AccessPolicy() {return *this;}
@@ -269,6 +267,8 @@ template <class BASE = AbstractPolicyHolder<AdditiveCipherAbstractPolicy, Symmet
class CRYPTOPP_NO_VTABLE AdditiveCipherTemplate : public BASE, public RandomNumberGenerator
{
public:
+ virtual ~AdditiveCipherTemplate() {}
+
//! \brief Generate random array of bytes
//! \param output the byte buffer
//! \param size the length of the buffer, in bytes
@@ -584,6 +584,8 @@ template <class BASE, class INFO = BASE>
class SymmetricCipherFinal : public AlgorithmImpl<SimpleKeyingInterfaceImpl<BASE, INFO>, INFO>
{
public:
+ virtual ~SymmetricCipherFinal() {}
+
//! \brief Construct a stream cipher
SymmetricCipherFinal() {}