aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ecgdsa.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-04 06:32:32 -0400
committerJack Lloyd <[email protected]>2019-08-04 16:26:48 -0400
commitb7434defb0769f1f06a7b55f5435ceb690856713 (patch)
tree6e4e86f22dc01b75db8a59ad86f8b7261791a840 /src/tests/test_ecgdsa.cpp
parent67fddcd63e065eaf8bafbb15f615cbf203a305bd (diff)
Deprecate and replace OIDS::lookup
Diffstat (limited to 'src/tests/test_ecgdsa.cpp')
-rw-r--r--src/tests/test_ecgdsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ecgdsa.cpp b/src/tests/test_ecgdsa.cpp
index 5ddb5b9f8..30f83cb3c 100644
--- a/src/tests/test_ecgdsa.cpp
+++ b/src/tests/test_ecgdsa.cpp
@@ -37,7 +37,7 @@ class ECGDSA_Signature_KAT_Tests final : public PK_Signature_Generation_Test
{
const std::string group_id = vars.get_req_str("Group");
const BigInt x = vars.get_req_bn("X");
- Botan::EC_Group group(Botan::OIDS::lookup(group_id));
+ Botan::EC_Group group(Botan::OIDS::str2oid_or_throw(group_id));
std::unique_ptr<Botan::Private_Key> key(new Botan::ECGDSA_PrivateKey(Test::rng(), group, x));
return key;