diff options
author | Matt Caswell <matt@openssl.org> | 2021-06-18 10:08:23 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-06-24 14:48:14 +0100 |
commit | 8d4dec0d4b3055b4c2e7ece5ac99b67b3e77995e (patch) | |
tree | 2a7754474bd44bfb2352adc3b49b4f10ce6885f8 /include | |
parent | ab7554e5a08966c159054ae7df18a879bfe3865f (diff) | |
download | openssl-new-8d4dec0d4b3055b4c2e7ece5ac99b67b3e77995e.tar.gz |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/provider.h | 2 | ||||
-rw-r--r-- | include/internal/symhacks.h | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/internal/provider.h b/include/internal/provider.h index df20c76f90..6432f8a212 100644 --- a/include/internal/provider.h +++ b/include/internal/provider.h @@ -62,8 +62,6 @@ int ossl_provider_disable_fallback_loading(OSSL_LIB_CTX *libctx); int ossl_provider_activate(OSSL_PROVIDER *prov, int retain_fallbacks, int upcalls); int ossl_provider_deactivate(OSSL_PROVIDER *prov); -/* Check if the provider is available (activated) */ -int ossl_provider_available(OSSL_PROVIDER *prov); /* Return pointer to the provider's context */ void *ossl_provider_ctx(const OSSL_PROVIDER *prov); diff --git a/include/internal/symhacks.h b/include/internal/symhacks.h index 564351642f..33bae51e49 100644 --- a/include/internal/symhacks.h +++ b/include/internal/symhacks.h @@ -15,9 +15,6 @@ # if defined(OPENSSL_SYS_VMS) -/* ossl_provider_available vs OSSL_PROVIDER_available */ -# undef ossl_provider_available -# define ossl_provider_available ossl_int_prov_available /* ossl_provider_gettable_params vs OSSL_PROVIDER_gettable_params */ # undef ossl_provider_gettable_params # define ossl_provider_gettable_params ossl_int_prov_gettable_params |