From cf3306dc6b37cc24ea50cebc227a9354fefce158 Mon Sep 17 00:00:00 2001 From: Jon Spillett Date: Wed, 17 Mar 2021 13:59:29 +1000 Subject: [PATCH] Remove TODO comment. Resolves #14396 Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14588) --- crypto/evp/ec_support.c | 7 ------- 1 file changed, 7 deletions(-) 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; -- 2.47.2