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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/unit_ecc.cpp b/src/tests/unit_ecc.cpp
index 46aef2b17..6a3a17367 100644
--- a/src/tests/unit_ecc.cpp
+++ b/src/tests/unit_ecc.cpp
@@ -19,7 +19,6 @@
#include <botan/hex.h>
#include <botan/data_src.h>
#include <botan/x509_key.h>
- #include <botan/oids.h>
#endif
namespace Botan_Tests {
@@ -274,7 +273,7 @@ class EC_Group_Tests : public Test
{
Test::Result result("EC_Group " + group_name);
- const Botan::OID oid = Botan::OIDS::str2oid_or_throw(group_name);
+ const Botan::OID oid = Botan::OID::from_string(group_name);
const Botan::EC_Group group(oid);