aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_ecc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/unit_ecc.cpp')
-rw-r--r--src/tests/unit_ecc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_ecc.cpp b/src/tests/unit_ecc.cpp
index 08d08b516..46aef2b17 100644
--- a/src/tests/unit_ecc.cpp
+++ b/src/tests/unit_ecc.cpp
@@ -274,7 +274,7 @@ class EC_Group_Tests : public Test
{
Test::Result result("EC_Group " + group_name);
- const Botan::OID oid = Botan::OIDS::lookup(group_name);
+ const Botan::OID oid = Botan::OIDS::str2oid_or_throw(group_name);
const Botan::EC_Group group(oid);