mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
openssl: Fix memory leak if FIPS provider isn't available
This commit is contained in:
parent
ee9a663b01
commit
89ce398c3d
@ -833,6 +833,7 @@ plugin_t *openssl_plugin_create()
|
||||
if (!fips)
|
||||
{
|
||||
DBG1(DBG_LIB, "unable to load OpenSSL FIPS provider");
|
||||
destroy(this);
|
||||
return NULL;
|
||||
}
|
||||
/* explicitly load the base provider containing encoding functions */
|
||||
|
Loading…
x
Reference in New Issue
Block a user