mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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:
parent
b17e799298
commit
dea7617558
@ -669,7 +669,7 @@ int OSSL_provider_init(const OSSL_CORE_HANDLE *handle,
|
|||||||
|
|
||||||
if (!fips_get_params_from_core(fgbl)) {
|
if (!fips_get_params_from_core(fgbl)) {
|
||||||
/* Error already raised */
|
/* Error already raised */
|
||||||
return 0;
|
goto err;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Disable the conditional error check if it's disabled in the fips config
|
* Disable the conditional error check if it's disabled in the fips config
|
||||||
|
Loading…
Reference in New Issue
Block a user