aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey
diff options
context:
space:
mode:
authorJack Lloyd <jack@randombit.net>2018-08-13 07:57:37 -0400
committerJack Lloyd <jack@randombit.net>2018-08-13 07:57:37 -0400
commita5fc1905a71841c60b9b230744fcb8036090f11c (patch)
tree273e78e0c3dd1cb290da5142c6629833db529be1 /src/lib/pubkey
parent2ddb3656d721f22c912e428b6c6a6af9398fbed9 (diff)
Add missing override annotations [ci skip]
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r--src/lib/pubkey/curve25519/curve25519.cpp2
-rw-r--r--src/lib/pubkey/ecies/ecies.cpp2
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
{