diff options
author | Nils Larsch <nils@openssl.org> | 2005-05-10 11:37:47 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-05-10 11:37:47 +0000 |
commit | 8b15c740180725e3e1e71ff619151840cdec46a5 (patch) | |
tree | ea4e30c81576aa0b35af6cfe5f21908ca514c2b3 /crypto/ecdsa/ecdsatest.c | |
parent | 3afa6cf866257e240bf6b62dfb714bd5669385c7 (diff) | |
download | openssl-new-8b15c740180725e3e1e71ff619151840cdec46a5.tar.gz |
give EC_GROUP_new_by_nid a more meanigful name:
EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
Diffstat (limited to 'crypto/ecdsa/ecdsatest.c')
-rw-r--r-- | crypto/ecdsa/ecdsatest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c index 44321c5ac6..5315d90dd2 100644 --- a/crypto/ecdsa/ecdsatest.c +++ b/crypto/ecdsa/ecdsatest.c @@ -203,7 +203,7 @@ int x9_62_test_internal(BIO *out, int nid, const char *r_in, const char *s_in) /* create the key */ if ((key = EC_KEY_new()) == NULL) goto x962_int_err; - if ((key->group = EC_GROUP_new_by_nid(nid)) == NULL) + if ((key->group = EC_GROUP_new_by_curve_name(nid)) == NULL) goto x962_int_err; if (!EC_KEY_generate_key(key)) goto x962_int_err; @@ -337,7 +337,7 @@ int test_builtin(BIO *out) /* create new ecdsa key (== EC_KEY) */ if ((eckey = EC_KEY_new()) == NULL) goto builtin_err; - if ((eckey->group = EC_GROUP_new_by_nid(nid)) == NULL) + if ((eckey->group = EC_GROUP_new_by_curve_name(nid)) == NULL) goto builtin_err; if (EC_GROUP_get_degree(eckey->group) < 160) /* drop the curve */ @@ -356,7 +356,7 @@ int test_builtin(BIO *out) /* create second key */ if ((wrong_eckey = EC_KEY_new()) == NULL) goto builtin_err; - if ((wrong_eckey->group = EC_GROUP_new_by_nid(nid)) == NULL) + if ((wrong_eckey->group = EC_GROUP_new_by_curve_name(nid)) == NULL) goto builtin_err; if (!EC_KEY_generate_key(wrong_eckey)) { |