give EC_GROUP_new_by_nid a more meanigful name:
[openssl.git] / apps / ecparam.c
index 181cccc5c3c005d4018a99d7cc92c885806e303b..b9786288d958ffedc62876a751065177aa524a2a 100644 (file)
@@ -411,7 +411,7 @@ bad:
                        goto end;
                        }
 
                        goto end;
                        }
 
-               group = EC_GROUP_new_by_nid(nid);
+               group = EC_GROUP_new_by_curve_name(nid);
                if (group == NULL)
                        {
                        BIO_printf(bio_err, "unable to create curve (%s)\n", 
                if (group == NULL)
                        {
                        BIO_printf(bio_err, "unable to create curve (%s)\n",