aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rfc6979.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-29 14:48:15 -0400
committerJack Lloyd <[email protected]>2018-05-29 14:48:15 -0400
commit48fb47c2aad3d39c51d971685b0be3f6a9292e15 (patch)
treefaeca0d57adec9f76bc5fbe0f5f84383b79f787f /src/tests/test_rfc6979.cpp
parent5b60dae056a652c9eb0b480db8bfa020ead9d4e1 (diff)
Make the tests VarMap an actual type instead of a hashmap typedef.
Diffstat (limited to 'src/tests/test_rfc6979.cpp')
-rw-r--r--src/tests/test_rfc6979.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test_rfc6979.cpp b/src/tests/test_rfc6979.cpp
index b9de7fcb9..e65d94c78 100644
--- a/src/tests/test_rfc6979.cpp
+++ b/src/tests/test_rfc6979.cpp
@@ -24,10 +24,10 @@ class RFC6979_KAT_Tests final : public Text_Based_Test
Test::Result run_one_test(const std::string& hash, const VarMap& vars) override
{
- const BigInt Q = get_req_bn(vars, "Q");
- const BigInt X = get_req_bn(vars, "X");
- const BigInt H = get_req_bn(vars, "H");
- const BigInt K = get_req_bn(vars, "K");
+ const BigInt Q = vars.get_req_bn("Q");
+ const BigInt X = vars.get_req_bn("X");
+ const BigInt H = vars.get_req_bn("H");
+ const BigInt K = vars.get_req_bn("K");
Test::Result result("RFC 6979 nonce generation");