aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ectest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec/ectest.c')
-rw-r--r--crypto/ec/ectest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c
index 92d2f671ac..fdca4b4504 100644
--- a/crypto/ec/ectest.c
+++ b/crypto/ec/ectest.c
@@ -1252,10 +1252,10 @@ void internal_curve_test(void)
{
EC_GROUP *group = NULL;
int nid = curves[n].nid;
- if ((group = EC_GROUP_new_by_nid(nid)) == NULL)
+ if ((group = EC_GROUP_new_by_curve_name(nid)) == NULL)
{
ok = 0;
- fprintf(stdout, "\nEC_GROUP_new_by_nid() failed with"
+ fprintf(stdout, "\nEC_GROUP_new_curve_name() failed with"
" curve %s\n", OBJ_nid2sn(nid));
/* try next curve */
continue;