diff options
author | Jack Lloyd <[email protected]> | 2017-06-08 13:02:11 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-06-08 13:02:11 -0400 |
commit | 9676ed62cbe913be9a7d8701bf12691079820c8c (patch) | |
tree | 6911786aa0b8779b3247da8d23c72daeb9acd6f7 /src/lib/pubkey | |
parent | 2b3912c99b14ac9d968dd72e4aa4b1c150c0aead (diff) |
Add missing overrides
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r-- | src/lib/pubkey/ed25519/ed25519_key.cpp | 4 |
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; |