diff options
Diffstat (limited to 'src/tests/test_ecgdsa.cpp')
-rw-r--r-- | src/tests/test_ecgdsa.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/test_ecgdsa.cpp b/src/tests/test_ecgdsa.cpp index 30f83cb3c..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::str2oid_or_throw(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; |