]> git.ipfire.org Git - thirdparty/openssl.git/commit
Store the list of activated providers in the libctx
authorMatt Caswell <matt@openssl.org>
Mon, 26 Apr 2021 13:58:40 +0000 (14:58 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 28 Apr 2021 15:04:25 +0000 (16:04 +0100)
commit460d2fbcd75bef492638b54c17aa5f5bca7eec2a
tree79bee8f150a242b327ade8c4af55ca3850d194d9
parent2d5695016d880b9c6681f293ed5afb0379ce86b7
Store the list of activated providers in the libctx

The provider config module was storing the list of activated providers
in a global variable. However, because different libctxs can each load
providers via config files we need to keep the list of activated providers
separate and in the libctx.

Partially fixes #15030

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15033)
crypto/provider_conf.c
include/internal/cryptlib.h