diff options
author | Daniel Seither <[email protected]> | 2015-07-30 19:15:22 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-07-30 19:15:22 +0200 |
commit | f2edce7bf7fd2132e1a153093df4d47d5f57efcc (patch) | |
tree | 596f618d70b8be96922e662f17d91c6c996d835e /src/lib/pubkey/dl_algo | |
parent | e44e6b50e98628e385f59de4b61b4b4733fc1816 (diff) |
pubkey: Add missing overrides
Diffstat (limited to 'src/lib/pubkey/dl_algo')
-rw-r--r-- | src/lib/pubkey/dl_algo/dl_algo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/pubkey/dl_algo/dl_algo.h b/src/lib/pubkey/dl_algo/dl_algo.h index 5d2386e56..73cf23eec 100644 --- a/src/lib/pubkey/dl_algo/dl_algo.h +++ b/src/lib/pubkey/dl_algo/dl_algo.h @@ -20,11 +20,11 @@ namespace Botan { class BOTAN_DLL DL_Scheme_PublicKey : public virtual Public_Key { public: - bool check_key(RandomNumberGenerator& rng, bool) const; + bool check_key(RandomNumberGenerator& rng, bool) const override; - AlgorithmIdentifier algorithm_identifier() const; + AlgorithmIdentifier algorithm_identifier() const override; - std::vector<byte> x509_subject_public_key() const; + std::vector<byte> x509_subject_public_key() const override; /** * Get the DL domain parameters of this key. @@ -88,7 +88,7 @@ class BOTAN_DLL DL_Scheme_PrivateKey : public virtual DL_Scheme_PublicKey, public virtual Private_Key { public: - bool check_key(RandomNumberGenerator& rng, bool) const; + bool check_key(RandomNumberGenerator& rng, bool) const override; /** * Get the secret key x. @@ -96,7 +96,7 @@ class BOTAN_DLL DL_Scheme_PrivateKey : public virtual DL_Scheme_PublicKey, */ const BigInt& get_x() const { return x; } - secure_vector<byte> pkcs8_private_key() const; + secure_vector<byte> pkcs8_private_key() const override; DL_Scheme_PrivateKey(const AlgorithmIdentifier& alg_id, const secure_vector<byte>& key_bits, |