mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-07 00:01:49 -04:00
openssl: Only warn about unavailable FIPS mode if the user requested it
This commit is contained in:
parent
c1f1df4b40
commit
bd538e8c4a
@ -528,9 +528,9 @@ plugin_t *openssl_plugin_create()
|
||||
DBG1(DBG_LIB, "openssl FIPS mode(%d) - %sabled ",fips_mode,
|
||||
fips_mode ? "en" : "dis");
|
||||
#else
|
||||
DBG1(DBG_LIB, "openssl FIPS mode(%d) unavailable", fips_mode);
|
||||
if (fips_mode)
|
||||
{
|
||||
DBG1(DBG_LIB, "openssl FIPS mode(%d) unavailable", fips_mode);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user