aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-04 16:42:24 +0000
committerlloyd <[email protected]>2010-03-04 16:42:24 +0000
commitcc53a2e7f64a68a7df419d43ba9b58cbdaa08569 (patch)
treeca678fa9516e00314266c1f22e1c26c417f80b2a
parentc6707f7d0a7ec1cdadce664057e3cbf44123b05f (diff)
Remove unnecessary virtual destructors from ECC key base types
(already have them, via Public_Key's virtual destructor)
-rw-r--r--src/pubkey/ecc_key/ecc_key.h4
1 files changed, 0 insertions, 4 deletions
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<byte>& 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<byte>& key_bits);
- virtual ~EC_PrivateKey() {}
-
MemoryVector<byte> pkcs8_private_key() const;
/**