From: Martin Willi Date: Mon, 10 Feb 2014 10:07:50 +0000 (+0100) Subject: rdrand: Move RDRAND detection log to level 2 X-Git-Tag: 5.1.2rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=144f1d70410eafa5a5e2327f06b0129380c10e6c;p=thirdparty%2Fstrongswan.git rdrand: Move RDRAND detection log to level 2 When having RDRAND support, these log messages might be confusing when using pki or other tools. --- diff --git a/src/libstrongswan/plugins/rdrand/rdrand_plugin.c b/src/libstrongswan/plugins/rdrand/rdrand_plugin.c index 4bdfc258e3..bb540648d7 100644 --- a/src/libstrongswan/plugins/rdrand/rdrand_plugin.c +++ b/src/libstrongswan/plugins/rdrand/rdrand_plugin.c @@ -77,11 +77,11 @@ static bool have_rdrand() cpuid(1, &a, &b, &c, &d); if (c & CPUID_RDRAND) { - DBG1(DBG_LIB, "detected RDRAND support on %s CPU", vendor); + DBG2(DBG_LIB, "detected RDRAND support on %s CPU", vendor); return TRUE; } } - DBG1(DBG_LIB, "no RDRAND support on %s CPU, disabled", vendor); + DBG2(DBG_LIB, "no RDRAND support on %s CPU, disabled", vendor); return FALSE; }