Provider config module: allow providers to already be loaded
This allows 'default' to be configured in the config file, if needed.
@@ -113,6 +113,8 @@ static int provider_conf_load(OPENSSL_CTX *libctx, const char *name,
activate = 1;
}
+ prov = ossl_provider_find(libctx, name);
+ if (prov == NULL)
prov = ossl_provider_new(libctx, name, NULL);
if (prov == NULL) {
if (soft)
