give EC_GROUP_*_nid functions a more meaningful name
[openssl.git] / crypto / ec / ec_asn1.c
index d43ca49ec7ac1cda57b0455cd6954940fd852bb3..6c7de81eb7e6c57b213836a8f5a66d882abc48f9 100644 (file)
@@ -707,7 +707,7 @@ ECPKPARAMETERS *ec_asn1_group2pkparameters(const EC_GROUP *group,
                /* use the asn1 OID to describe the
                 * the elliptic curve parameters
                 */
-               tmp = EC_GROUP_get_nid(group);
+               tmp = EC_GROUP_get_curve_name(group);
                if (tmp)
                        {
                        ret->type = 0;