diff options
author | lloyd <[email protected]> | 2010-03-01 23:05:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-01 23:05:00 +0000 |
commit | 3fb831f2e24ec1e3d7f8902d4aa5adceaf366f01 (patch) | |
tree | 226c329e44047b418add41e3ddfc58c322229409 /checks/eckaeg.cpp | |
parent | b789c87b7c96dbdb00839996c9603a3f0921b25b (diff) |
Kill get_EC_Dom_Pars_by_oid
Diffstat (limited to 'checks/eckaeg.cpp')
-rw-r--r-- | checks/eckaeg.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/checks/eckaeg.cpp b/checks/eckaeg.cpp index e5de2e425..d8a3f61d8 100644 --- a/checks/eckaeg.cpp +++ b/checks/eckaeg.cpp @@ -99,7 +99,9 @@ void test_eckaeg_some_dp(RandomNumberGenerator& rng) for(Botan::u32bit i = 0; i< oids.size(); i++) { std::cout << "." << std::flush; - Botan::EC_Domain_Params dom_pars(Botan::get_EC_Dom_Pars_by_oid(oids[i])); + + Botan::OID oid(oids[i]); + Botan::EC_Domain_Params dom_pars(oid); Botan::ECKAEG_PrivateKey private_a(rng, dom_pars); Botan::ECKAEG_PublicKey public_a = private_a; /*auto_ptr<Botan::X509_Encoder> x509_key_enc = public_a.x509_encoder(); @@ -135,7 +137,8 @@ void test_eckaeg_der_derivation(RandomNumberGenerator& rng) for(Botan::u32bit i = 0; i< oids.size(); i++) { - Botan::EC_Domain_Params dom_pars(Botan::get_EC_Dom_Pars_by_oid(oids[i])); + Botan::OID oid(oids[i]); + Botan::EC_Domain_Params dom_pars(oid); Botan::ECKAEG_PrivateKey private_a(rng, dom_pars); Botan::ECKAEG_PublicKey public_a = private_a; |