summaryrefslogtreecommitdiffstats
path: root/crypto/ecdh
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/ecdh
parent3afa6cf866257e240bf6b62dfb714bd5669385c7 (diff)
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/ecdh')
-rw-r--r--crypto/ecdh/ecdhtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecdh/ecdhtest.c b/crypto/ecdh/ecdhtest.c
index 2a6baf4804..f4e02966e2 100644
--- a/crypto/ecdh/ecdhtest.c
+++ b/crypto/ecdh/ecdhtest.c
@@ -132,7 +132,7 @@ int test_ecdh_curve(int nid, char *text, BN_CTX *ctx, BIO *out)
int i,alen,blen,aout,bout,ret=0;
if ((a=EC_KEY_new()) == NULL) goto err;
- if ((a->group=EC_GROUP_new_by_nid(nid)) == NULL) goto err;
+ if ((a->group=EC_GROUP_new_by_curve_name(nid)) == NULL) goto err;
if ((b=EC_KEY_new()) == NULL) goto err;
b->group = a->group;