Instantiate configuration supplied providers when we need them
authorMatt Caswell <matt@openssl.org>
Fri, 18 Jun 2021 14:56:54 +0000 (15:56 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 24 Jun 2021 13:48:14 +0000 (14:48 +0100)
commit352d482a2990cc04adff48aeda9c080d4a839f1e
treebee0041c8a4b777653125cab5ed8280b19def1b0
parent1d74203cf5d8542d349fbb2d5f35ad40994dec9f
Instantiate configuration supplied providers when we need them

If provider specified in a config file are not "activated" then we defer
instantiating the provider object until it is actually needed.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15854)
crypto/provider_conf.c
crypto/provider_core.c
crypto/provider_local.h
crypto/provider_predefined.c