give EC_GROUP_new_by_nid a more meanigful name:

EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
This commit is contained in:
Nils Larsch
2005-05-10 11:37:47 +00:00
parent 3afa6cf866
commit 8b15c74018
16 changed files with 27 additions and 26 deletions

View File

@@ -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;