diff options
author | Matt Caswell <matt@openssl.org> | 2021-05-13 15:35:42 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-05-15 10:33:42 +0100 |
commit | 36a89c04390f2d98e740b9c53a1eead9dcb5f188 (patch) | |
tree | 8a895e2e68d24eceaa5a5fda2cf4b85807ffcfd2 /doc | |
parent | 773f1c3320f546a53906bd377b2c9d385ece3c39 (diff) |
Init the child providers immediately on creation of the child libctx
We were deferring the initial creation of the child providers until the
first fetch. This is a carry over from an earlier iteration of the child
lib ctx development and is no longer necessary. In fact we need to init
the child providers immediately otherwise not all providers quite init
correctly.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15270)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/internal/man3/ossl_provider_new.pod | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/internal/man3/ossl_provider_new.pod b/doc/internal/man3/ossl_provider_new.pod index ff347bad3f..7ab60eb3a5 100644 --- a/doc/internal/man3/ossl_provider_new.pod +++ b/doc/internal/man3/ossl_provider_new.pod @@ -7,7 +7,7 @@ ossl_provider_free, ossl_provider_set_fallback, ossl_provider_set_module_path, ossl_provider_add_parameter, ossl_provider_set_child, ossl_provider_get_parent, ossl_provider_up_ref_parent, ossl_provider_free_parent, -ossl_provider_get0_dispatch, ossl_provider_init_child_providers, +ossl_provider_get0_dispatch, ossl_provider_init_as_child, ossl_provider_activate, ossl_provider_deactivate, ossl_provider_available, ossl_provider_ctx, @@ -95,7 +95,6 @@ ossl_provider_get_capabilities int *result); int ossl_provider_clear_all_operation_bits(OSSL_LIB_CTX *libctx); - int ossl_provider_init_child_providers(OSSL_LIB_CTX *ctx); int ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, const OSSL_CORE_HANDLE *handle, const OSSL_DISPATCH *in); @@ -291,10 +290,6 @@ I<*result> to 1 or 0 accorddingly. ossl_provider_clear_all_operation_bits() clears all of the operation bits to (0) for all providers in the library context I<libctx>. -ossl_provider_init_child_providers() registers the callbacks required to -receive notifications about loading and unloading of providers in the parent -library context. - ossl_provider_init_as_child() stores in the library context I<ctx> references to the necessary upcalls for managing child providers. The I<handle> and I<in> parameters are the B<OSSL_CORE_HANDLE> and B<OSSL_DISPATCH> pointers that were |