openssl: Only warn about unavailable FIPS mode if the user requested it
This commit is contained in:
1 parent
c1f1df4b40
commit
bd538e8c4a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user