aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_eckcdsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_eckcdsa.cpp')
-rw-r--r--src/tests/test_eckcdsa.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/test_eckcdsa.cpp b/src/tests/test_eckcdsa.cpp
index 6c9a33bae..b5a9ab97e 100644
--- a/src/tests/test_eckcdsa.cpp
+++ b/src/tests/test_eckcdsa.cpp
@@ -11,7 +11,6 @@
#if defined(BOTAN_HAS_ECKCDSA)
#include "test_pubkey.h"
#include <botan/eckcdsa.h>
- #include <botan/oids.h>
#endif
namespace Botan_Tests {
@@ -38,7 +37,7 @@ class ECKCDSA_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::str2oid_or_throw(group_id));
+ Botan::EC_Group group(Botan::OID::from_string(group_id));
std::unique_ptr<Botan::Private_Key> key(new Botan::ECKCDSA_PrivateKey(Test::rng(), group, x));
return key;