openssl: Be less verbose about FIPS mode when not running as daemon

While this is valuable information, printing it for pki and other tools is
annoying.
This commit is contained in:
Martin Willi
2014-06-04 15:53:09 +02:00
parent 74e14ea547
commit 93168c5f1d
@@ -558,8 +558,8 @@ plugin_t *openssl_plugin_create()
#ifdef OPENSSL_FIPS
/* we do this here as it may have been enabled via openssl.conf */
fips_mode = FIPS_mode();
DBG1(DBG_LIB, "openssl FIPS mode(%d) - %sabled ", fips_mode,
fips_mode ? "en" : "dis");
dbg(DBG_LIB, strpfx(lib->ns, "charon") ? 1 : 2,
"openssl FIPS mode(%d) - %sabled ", fips_mode, fips_mode ? "en" : "dis");
#endif /* OPENSSL_FIPS */
#ifndef OPENSSL_NO_ENGINE