From: Matt Caswell Date: Thu, 15 Apr 2021 15:32:45 +0000 (+0100) Subject: Remove a TODO(3.0) from keymgmt_lib.c X-Git-Tag: openssl-3.0.0-alpha15~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=145a4c871d9632a6eb2145f8a2b417bec58e7ee5;p=thirdparty%2Fopenssl.git Remove a TODO(3.0) from keymgmt_lib.c The TODO suggest a possible refactoring. The refactoring doesn't seem necessary at this stage. If it is required later it can be done without affecting external APIs - so just remove the TODO. Fixes #14397 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14888) --- diff --git a/crypto/evp/keymgmt_lib.c b/crypto/evp/keymgmt_lib.c index f196bc4d885..f3118a76c93 100644 --- a/crypto/evp/keymgmt_lib.c +++ b/crypto/evp/keymgmt_lib.c @@ -123,10 +123,6 @@ void *evp_keymgmt_util_export_to_provider(EVP_PKEY *pk, EVP_KEYMGMT *keymgmt) CRYPTO_THREAD_unlock(pk->lock); /* If the "origin" |keymgmt| doesn't support exporting, give up */ - /* - * TODO(3.0) consider an evp_keymgmt_export() return value that indicates - * that the method is unsupported. - */ if (pk->keymgmt->export == NULL) return NULL;