aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/x_pubkey.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-05-10 11:37:47 +0000
committerNils Larsch <nils@openssl.org>2005-05-10 11:37:47 +0000
commit8b15c740180725e3e1e71ff619151840cdec46a5 (patch)
treeea4e30c81576aa0b35af6cfe5f21908ca514c2b3 /crypto/asn1/x_pubkey.c
parent3afa6cf866257e240bf6b62dfb714bd5669385c7 (diff)
downloadopenssl-8b15c740180725e3e1e71ff619151840cdec46a5.zip
openssl-8b15c740180725e3e1e71ff619151840cdec46a5.tar.gz
openssl-8b15c740180725e3e1e71ff619151840cdec46a5.tar.bz2
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/asn1/x_pubkey.c')
-rw-r--r--crypto/asn1/x_pubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/x_pubkey.c b/crypto/asn1/x_pubkey.c
index c3bfd8d..c371e4c 100644
--- a/crypto/asn1/x_pubkey.c
+++ b/crypto/asn1/x_pubkey.c
@@ -338,7 +338,7 @@ EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key)
eckey = ret->pkey.eckey;
if (eckey->group)
EC_GROUP_free(eckey->group);
- if ((eckey->group = EC_GROUP_new_by_nid(
+ if ((eckey->group = EC_GROUP_new_by_curve_name(
OBJ_obj2nid(a->parameter->value.object))) == NULL)
goto err;
EC_GROUP_set_asn1_flag(eckey->group,