diff options
author | Nils Larsch <nils@openssl.org> | 2005-05-10 13:37:47 +0200 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-05-10 13:37:47 +0200 |
commit | 8b15c740180725e3e1e71ff619151840cdec46a5 (patch) | |
tree | ea4e30c81576aa0b35af6cfe5f21908ca514c2b3 /crypto/ec/ec_curve.c | |
parent | improve command line argument checking (diff) | |
download | openssl-8b15c740180725e3e1e71ff619151840cdec46a5.tar.xz openssl-8b15c740180725e3e1e71ff619151840cdec46a5.zip |
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/ec/ec_curve.c')
-rw-r--r-- | crypto/ec/ec_curve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_curve.c b/crypto/ec/ec_curve.c index 979f86530e..923cb71e03 100644 --- a/crypto/ec/ec_curve.c +++ b/crypto/ec/ec_curve.c @@ -1224,7 +1224,7 @@ err: return group; } -EC_GROUP *EC_GROUP_new_by_nid(int nid) +EC_GROUP *EC_GROUP_new_by_curve_name(int nid) { size_t i; EC_GROUP *ret = NULL; @@ -1241,7 +1241,7 @@ EC_GROUP *EC_GROUP_new_by_nid(int nid) if (ret == NULL) { - ECerr(EC_F_EC_GROUP_NEW_BY_NID, EC_R_UNKNOWN_GROUP); + ECerr(EC_F_EC_GROUP_NEW_BY_CURVE_NAME, EC_R_UNKNOWN_GROUP); return NULL; } |