aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ecgdsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_ecgdsa.cpp')
-rw-r--r--src/tests/test_ecgdsa.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/test_ecgdsa.cpp b/src/tests/test_ecgdsa.cpp
index 5ddb5b9f8..4a39128fb 100644
--- a/src/tests/test_ecgdsa.cpp
+++ b/src/tests/test_ecgdsa.cpp
@@ -11,7 +11,6 @@
#if defined(BOTAN_HAS_ECGDSA)
#include "test_pubkey.h"
#include <botan/ecgdsa.h>
- #include <botan/oids.h>
#endif
namespace Botan_Tests {
@@ -37,7 +36,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::OID::from_string(group_id));
std::unique_ptr<Botan::Private_Key> key(new Botan::ECGDSA_PrivateKey(Test::rng(), group, x));
return key;