aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-06-08 13:02:11 -0400
committerJack Lloyd <[email protected]>2017-06-08 13:02:11 -0400
commit9676ed62cbe913be9a7d8701bf12691079820c8c (patch)
tree6911786aa0b8779b3247da8d23c72daeb9acd6f7
parent2b3912c99b14ac9d968dd72e4aa4b1c150c0aead (diff)
Add missing overrides
-rw-r--r--src/lib/pubkey/ed25519/ed25519_key.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ed25519/ed25519_key.cpp b/src/lib/pubkey/ed25519/ed25519_key.cpp
index 5a7ca5f13..beea8d9a2 100644
--- a/src/lib/pubkey/ed25519/ed25519_key.cpp
+++ b/src/lib/pubkey/ed25519/ed25519_key.cpp
@@ -117,7 +117,7 @@ class Ed25519_Pure_Verify_Operation : public PK_Ops::Verification
m_msg.insert(m_msg.end(), msg, msg + msg_len);
}
- bool is_valid_signature(const uint8_t sig[], size_t sig_len)
+ bool is_valid_signature(const uint8_t sig[], size_t sig_len) override
{
if(sig_len != 64)
return false;
@@ -147,7 +147,7 @@ class Ed25519_Hashed_Verify_Operation : public PK_Ops::Verification
m_hash->update(msg, msg_len);
}
- bool is_valid_signature(const uint8_t sig[], size_t sig_len)
+ bool is_valid_signature(const uint8_t sig[], size_t sig_len) override
{
if(sig_len != 64)
return false;