aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ed25519.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_ed25519.cpp')
-rw-r--r--src/tests/test_ed25519.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_ed25519.cpp b/src/tests/test_ed25519.cpp
index c822fb320..05a5ce30c 100644
--- a/src/tests/test_ed25519.cpp
+++ b/src/tests/test_ed25519.cpp
@@ -30,7 +30,7 @@ class Ed25519_Verification_Tests : public PK_Signature_Verification_Test
std::unique_ptr<Botan::Public_Key> load_public_key(const VarMap& vars) override
{
- const std::vector<uint8_t> pubkey = get_req_bin(vars, "Pubkey");
+ const std::vector<uint8_t> pubkey = vars.get_req_bin("Pubkey");
std::unique_ptr<Botan::Ed25519_PublicKey> key(new Botan::Ed25519_PublicKey(pubkey));
@@ -49,8 +49,8 @@ class Ed25519_Signature_Tests final : public PK_Signature_Generation_Test
std::unique_ptr<Botan::Private_Key> load_private_key(const VarMap& vars) override
{
- const std::vector<uint8_t> privkey = get_req_bin(vars, "Privkey");
- const std::vector<uint8_t> pubkey = get_req_bin(vars, "Pubkey");
+ const std::vector<uint8_t> privkey = vars.get_req_bin("Privkey");
+ const std::vector<uint8_t> pubkey = vars.get_req_bin("Pubkey");
Botan::secure_vector<uint8_t> seed(privkey.begin(), privkey.end());