diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-03-20 13:55:16 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-03-20 13:55:16 -0400 |
commit | cbc58242cfeb2a78797beb502076dadaf7f5fe02 (patch) | |
tree | 88d3c4f2d07a5aee9b6cd872a0478024d12664f4 /xed25519.h | |
parent | 44f71792f55f7fbc56c97724d210ae6630033656 (diff) | |
download | cryptopp-git-cbc58242cfeb2a78797beb502076dadaf7f5fe02.tar.gz |
Add missing virtual dtors
Diffstat (limited to 'xed25519.h')
-rw-r--r-- | xed25519.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -366,6 +366,8 @@ struct ed25519PrivateKey : public PKCS8PrivateKey /// concatenation of <tt>r || s</tt>.
CRYPTOPP_CONSTANT(SIGNATURE_LENGTH = 64);
+ virtual ~ed25519PrivateKey() {}
+
// CryptoMaterial
bool Validate(RandomNumberGenerator &rng, unsigned int level) const;
bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const;
@@ -629,6 +631,8 @@ struct ed25519PublicKey : public X509PublicKey CRYPTOPP_CONSTANT(PUBLIC_KEYLENGTH = 32);
typedef Integer Element;
+ virtual ~ed25519PublicKey() {}
+
OID GetAlgorithmID() const {
return m_oid.Empty() ? ASN1::Ed25519() : m_oid;
}
|