summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-06-21 11:06:12 +0100
committerMatt Caswell <matt@openssl.org>2021-06-24 14:48:14 +0100
commitd5fbd5b4eda592fd43e8688f69f3bac4ca5dd2da (patch)
tree53886169a1f16b61324dce673035fd7d74851711 /include
parent29aff653150c363be2d84f789a10b46d99d5cab9 (diff)
Remove flag_couldbechild
Now that a provider is no longer put into the store until after it has been activated we don't need flag_couldbechild any more. This flag was used to indicate whether a provider was eligible for conversion into a child provider or not. This was only really interesting for predefined providers that were automatically created. 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/internal/provider.h b/include/internal/provider.h
index 127ea2d2c5..45ad1a5b00 100644
--- a/include/internal/provider.h
+++ b/include/internal/provider.h
@@ -44,9 +44,9 @@ int ossl_provider_add_parameter(OSSL_PROVIDER *prov, const char *name,
int ossl_provider_is_child(const OSSL_PROVIDER *prov);
int ossl_provider_set_child(OSSL_PROVIDER *prov, const OSSL_CORE_HANDLE *handle);
-int ossl_provider_convert_to_child(OSSL_PROVIDER *prov,
- const OSSL_CORE_HANDLE *handle,
- OSSL_provider_init_fn *init_function);
+int ossl_provider_activate_child(OSSL_PROVIDER *prov,
+ const OSSL_CORE_HANDLE *handle,
+ OSSL_provider_init_fn *init_function);
const OSSL_CORE_HANDLE *ossl_provider_get_parent(OSSL_PROVIDER *prov);
int ossl_provider_up_ref_parent(OSSL_PROVIDER *prov, int activate);
int ossl_provider_free_parent(OSSL_PROVIDER *prov, int deactivate);