Remove TODO comment. Resolves #14396
authorJon Spillett <jon.spillett@oracle.com>
Wed, 17 Mar 2021 03:59:29 +0000 (13:59 +1000)
committerPauli <ppzgs1@gmail.com>
Thu, 18 Mar 2021 10:07:09 +0000 (20:07 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14588)

crypto/evp/ec_support.c

index b06157098fee18b3b13e0388b9be10b67699ca17..24337a5eace67013730756925e1db29a5e9464d7 100644 (file)
@@ -122,13 +122,6 @@ const char *ossl_ec_curve_nid2name(int nid)
     if (nid <= 0)
         return NULL;
 
-    /*
-     * TODO(3.0) Figure out if we should try to find the nid with
-     * EC_curve_nid2nist() first, i.e. make it a priority to return
-     * NIST names if there is one for the NID.  This is related to
-     * the TODO comment in ossl_ec_curve_name2nid().
-     */
-
     for (i = 0; i < OSSL_NELEM(curve_list); i++) {
         if (curve_list[i].nid == nid)
             return curve_list[i].name;