diff options
author | Jack Lloyd <[email protected]> | 2019-08-04 08:26:06 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-04 16:26:50 -0400 |
commit | 0006bd1db9a96c294f2da852218d3f8579f422a9 (patch) | |
tree | 15600a4e8369eb167be052e8343c58dcb6693a3a /src/tests/test_eckcdsa.cpp | |
parent | 247df8cae3fbec8d9b608c5dc8b42a4f6bdeef8b (diff) |
Reduce usage of oids.h with the addition of some helpers on OID
Diffstat (limited to 'src/tests/test_eckcdsa.cpp')
-rw-r--r-- | src/tests/test_eckcdsa.cpp | 3 |
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; |