Instantiate predefined providers just-in-time
authorMatt Caswell <matt@openssl.org>
Fri, 18 Jun 2021 09:08:23 +0000 (10:08 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 24 Jun 2021 13:48:14 +0000 (14:48 +0100)
commit8d4dec0d4b3055b4c2e7ece5ac99b67b3e77995e
tree2a7754474bd44bfb2352adc3b49b4f10ce6885f8
parentab7554e5a08966c159054ae7df18a879bfe3865f
Instantiate predefined providers just-in-time

Previously we instantiated all the predefined providers at the point that
we create the provider store. Instead we move them to be instantiated as we
need them.

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.c
crypto/provider_core.c
doc/internal/man3/ossl_provider_new.pod
include/internal/provider.h
include/internal/symhacks.h