From: Jon Spillett Date: Wed, 17 Mar 2021 03:59:29 +0000 (+1000) Subject: Remove TODO comment. Resolves #14396 X-Git-Tag: openssl-3.0.0-alpha14~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf3306dc6b37cc24ea50cebc227a9354fefce158;p=thirdparty%2Fopenssl.git Remove TODO comment. Resolves #14396 Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14588) --- diff --git a/crypto/evp/ec_support.c b/crypto/evp/ec_support.c index b06157098fe..24337a5eace 100644 --- a/crypto/evp/ec_support.c +++ b/crypto/evp/ec_support.c @@ -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;