From cc53a2e7f64a68a7df419d43ba9b58cbdaa08569 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 4 Mar 2010 16:42:24 +0000 Subject: Remove unnecessary virtual destructors from ECC key base types (already have them, via Public_Key's virtual destructor) --- src/pubkey/ecc_key/ecc_key.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/pubkey/ecc_key/ecc_key.h') diff --git a/src/pubkey/ecc_key/ecc_key.h b/src/pubkey/ecc_key/ecc_key.h index 295de2797..fcbc4b679 100644 --- a/src/pubkey/ecc_key/ecc_key.h +++ b/src/pubkey/ecc_key/ecc_key.h @@ -38,8 +38,6 @@ class BOTAN_DLL EC_PublicKey : public virtual Public_Key EC_PublicKey(const AlgorithmIdentifier& alg_id, const MemoryRegion& key_bits); - virtual ~EC_PublicKey() {} - /** * Get the public point of this key. * @throw Invalid_State is thrown if the @@ -103,8 +101,6 @@ class BOTAN_DLL EC_PrivateKey : public virtual EC_PublicKey, EC_PrivateKey(const AlgorithmIdentifier& alg_id, const MemoryRegion& key_bits); - virtual ~EC_PrivateKey() {} - MemoryVector pkcs8_private_key() const; /** -- cgit v1.2.3