fipsprov: Missing teardown on fips_get_params_from_core() error

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15229)
This commit is contained in:
Tomas Mraz 2021-05-11 17:50:13 +02:00
parent b17e799298
commit dea7617558

View File

@ -669,7 +669,7 @@ int OSSL_provider_init(const OSSL_CORE_HANDLE *handle,
if (!fips_get_params_from_core(fgbl)) {
/* Error already raised */
return 0;
goto err;
}
/*
* Disable the conditional error check if it's disabled in the fips config