diff options
Diffstat (limited to 'src/tests/test_elg.cpp')
-rw-r--r-- | src/tests/test_elg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_elg.cpp b/src/tests/test_elg.cpp index abd4dd5fc..5bdd88c93 100644 --- a/src/tests/test_elg.cpp +++ b/src/tests/test_elg.cpp @@ -29,9 +29,9 @@ class ElGamal_KAT_Tests final : public PK_Encryption_Decryption_Test std::unique_ptr<Botan::Private_Key> load_private_key(const VarMap& vars) override { - const Botan::BigInt p = get_req_bn(vars, "P"); - const Botan::BigInt g = get_req_bn(vars, "G"); - const Botan::BigInt x = get_req_bn(vars, "X"); + const Botan::BigInt p = vars.get_req_bn("P"); + const Botan::BigInt g = vars.get_req_bn("G"); + const Botan::BigInt x = vars.get_req_bn("X"); const Botan::DL_Group grp(p, g); |