summaryrefslogtreecommitdiffstats
path: root/crypto/provider.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-06-21 12:08:39 +0100
committerMatt Caswell <matt@openssl.org>2021-06-24 14:48:14 +0100
commit814c2018e11c99aeb3d84e0fee2b3943ff4039c8 (patch)
treef8be7de986e700d45148f88e5085d41e8e1fd145 /crypto/provider.c
parenteb2263da9abf3676cbcac672eee8a26416a8c309 (diff)
Merge ossl_provider_activate() and ossl_provider_activate_child()
These 2 functions have become so close to each other that they may as well be just one function. 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 'crypto/provider.c')
-rw-r--r--crypto/provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/provider.c b/crypto/provider.c
index f5dbc4f94a..6b5b7beefe 100644
--- a/crypto/provider.c
+++ b/crypto/provider.c
@@ -26,7 +26,7 @@ OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *libctx, const char *name,
isnew = 1;
}
- if (!ossl_provider_activate(prov, 1)) {
+ if (!ossl_provider_activate(prov, 1, 0)) {
ossl_provider_free(prov);
return NULL;
}