rdrand: Move RDRAND detection log to level 2

When having RDRAND support, these log messages might be confusing when using
pki or other tools.
This commit is contained in:
Martin Willi
2014-02-10 11:07:50 +01:00
parent ac2dc3b726
commit 144f1d7041
@@ -77,11 +77,11 @@ static bool have_rdrand()
cpuid(1, &a, &b, &c, &d); cpuid(1, &a, &b, &c, &d);
if (c & CPUID_RDRAND) 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; 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; return FALSE;
} }