aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ecdsa
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-10 05:26:16 +0000
committerlloyd <[email protected]>2009-11-10 05:26:16 +0000
commit7e318f666c592a98afa3ea15a654ebe6c0bc726e (patch)
treea74229ab97c4d72acbeed515af25f4b0226fcd0c /src/pubkey/ecdsa
parent34cb4ecfa3854d4b0985280fa72168e4d3a44948 (diff)
Make set_all_values in {ECDSA,ECKAEG}_{Public,Private}Key all non-virtual;
virtual-ness not needed, and was overriding/overloading by argument which doesn't actually work in C++ and only happened to work because it was only ever used with the version implemented in that same class. ICC was warning, too. Make non-virtual.
Diffstat (limited to 'src/pubkey/ecdsa')
-rw-r--r--src/pubkey/ecdsa/ecdsa.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pubkey/ecdsa/ecdsa.h b/src/pubkey/ecdsa/ecdsa.h
index 379445777..a6a77f3e6 100644
--- a/src/pubkey/ecdsa/ecdsa.h
+++ b/src/pubkey/ecdsa/ecdsa.h
@@ -85,7 +85,7 @@ class BOTAN_DLL ECDSA_PublicKey : public virtual EC_PublicKey,
protected:
void X509_load_hook();
- virtual void set_all_values(const ECDSA_PublicKey& other);
+ void set_all_values(const ECDSA_PublicKey& other);
ECDSA_Core m_ecdsa_core;
};
@@ -134,9 +134,8 @@ class BOTAN_DLL ECDSA_PrivateKey : public ECDSA_PublicKey,
*/
virtual void affirm_init() const;
- protected:
- virtual void set_all_values(const ECDSA_PrivateKey& other);
private:
+ void set_all_values(const ECDSA_PrivateKey& other);
void PKCS8_load_hook(bool = false);
};