diff options
author | Jack Lloyd <[email protected]> | 2018-08-13 07:57:37 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-08-13 07:57:37 -0400 |
commit | a5fc1905a71841c60b9b230744fcb8036090f11c (patch) | |
tree | 273e78e0c3dd1cb290da5142c6629833db529be1 | |
parent | 2ddb3656d721f22c912e428b6c6a6af9398fbed9 (diff) |
Add missing override annotations [ci skip]
-rw-r--r-- | src/lib/pubkey/curve25519/curve25519.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/ecies/ecies.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/curve25519/curve25519.cpp b/src/lib/pubkey/curve25519/curve25519.cpp index 68b4f5a4f..515fdc5e6 100644 --- a/src/lib/pubkey/curve25519/curve25519.cpp +++ b/src/lib/pubkey/curve25519/curve25519.cpp @@ -118,7 +118,7 @@ class Curve25519_KA_Operation final : public PK_Ops::Key_Agreement_with_KDF PK_Ops::Key_Agreement_with_KDF(kdf), m_key(key) {} - size_t agreed_value_size() const { return 32; } + size_t agreed_value_size() const override { return 32; } secure_vector<uint8_t> raw_agree(const uint8_t w[], size_t w_len) override { diff --git a/src/lib/pubkey/ecies/ecies.cpp b/src/lib/pubkey/ecies/ecies.cpp index ebfd9121e..b35ecc107 100644 --- a/src/lib/pubkey/ecies/ecies.cpp +++ b/src/lib/pubkey/ecies/ecies.cpp @@ -64,7 +64,7 @@ class ECIES_ECDH_KA_Operation final : public PK_Ops::Key_Agreement_with_KDF { } - size_t agreed_value_size() const { return m_key.domain().get_p_bytes(); } + size_t agreed_value_size() const override { return m_key.domain().get_p_bytes(); } secure_vector<uint8_t> raw_agree(const uint8_t w[], size_t w_len) override { |