diff options
author | lloyd <[email protected]> | 2008-10-11 18:04:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-11 18:04:36 +0000 |
commit | 98588c8fc66440781a65630d51d3920bedb2a2d0 (patch) | |
tree | 09c8b0e91e72bfc4700e800ad52528614deff224 | |
parent | f4de00db6e85ab97e3f23878bcdc5ce69c95f004 (diff) |
Correct OID for ECDSA param
-rw-r--r-- | doc/examples/ecdsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ecdsa.cpp b/doc/examples/ecdsa.cpp index 83cdad967..f4673e185 100644 --- a/doc/examples/ecdsa.cpp +++ b/doc/examples/ecdsa.cpp @@ -13,7 +13,7 @@ int main() std::auto_ptr<RandomNumberGenerator> rng( RandomNumberGenerator::make_rng()); - EC_Domain_Params params = get_EC_Dom_Pars_by_oid("1.3.132.8"); + EC_Domain_Params params = get_EC_Dom_Pars_by_oid("1.3.132.0.8"); std::cout << params.get_curve().get_p() << "\n"; std::cout << params.get_order() << "\n"; |