]> git.ipfire.org Git - thirdparty/openssl.git/commit
provider_core: Remove two TODO 3.0
authorTomas Mraz <tomas@openssl.org>
Fri, 12 Mar 2021 16:29:53 +0000 (17:29 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 16 Mar 2021 10:36:47 +0000 (11:36 +0100)
commita23deef2812a1ffa816aacb85f3e9b7ffb504ef5
tree062a8b003423e81e63e884e803c9f8038fda4af2
parenta8275fbc4a252ee3a4d404fa828f04ba267fe085
provider_core: Remove two TODO 3.0

We need to keep the check for prov == NULL in ossl_provider_libctx
but it is not needed in core_get_libctx as there it can happen only when
there is a serious coding error in a third party provider and returning
NULL as libctx would be seriously wrong as that has a special meaning.

The second TODO is valid but not something that is relevant
for 3.0. Change it into a normal comment.

Fixes #14377

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14535)
crypto/provider_core.c