From 144f1d70410eafa5a5e2327f06b0129380c10e6c Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 10 Feb 2014 11:07:50 +0100 Subject: [PATCH] rdrand: Move RDRAND detection log to level 2 When having RDRAND support, these log messages might be confusing when using pki or other tools. --- src/libstrongswan/plugins/rdrand/rdrand_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.2