aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pk_pad.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_pk_pad.cpp
parent5b60dae056a652c9eb0b480db8bfa020ead9d4e1 (diff)
Make the tests VarMap an actual type instead of a hashmap typedef.
Diffstat (limited to 'src/tests/test_pk_pad.cpp')
-rw-r--r--src/tests/test_pk_pad.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_pk_pad.cpp b/src/tests/test_pk_pad.cpp
index ecfdba5d5..babe5242d 100644
--- a/src/tests/test_pk_pad.cpp
+++ b/src/tests/test_pk_pad.cpp
@@ -40,9 +40,9 @@ class EME_Decoding_Tests final : public Text_Based_Test
return result;
}
- const std::vector<uint8_t> ciphertext = get_req_bin(vars, "RawCiphertext");
- const std::vector<uint8_t> plaintext = get_opt_bin(vars, "Plaintext");
- const bool is_valid = get_req_bool(vars, "ValidInput");
+ const std::vector<uint8_t> ciphertext = vars.get_req_bin("RawCiphertext");
+ const std::vector<uint8_t> plaintext = vars.get_opt_bin("Plaintext");
+ const bool is_valid = vars.get_req_bool("ValidInput");
if(is_valid == false)
{