From 7101086d47e816eb9de04a895d19a7757a2db8e2 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Wed, 22 Mar 2017 11:08:48 +0800 Subject: [PATCH] Output the entropy hints as info --- src/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto.c b/src/crypto.c index 30360071..9b1cddb6 100644 --- a/src/crypto.c +++ b/src/crypto.c @@ -115,7 +115,7 @@ entropy_check(void) if ((fd = open("/dev/random", O_RDONLY)) != -1) { if (ioctl(fd, RNDGETENTCNT, &c) == 0 && c < 160) { - LOGE("This system doesn't provide enough entropy to quickly generate high-quality random numbers\n" + LOGI("This system doesn't provide enough entropy to quickly generate high-quality random numbers\n" "Installing the rng-utils/rng-tools or haveged packages may help.\n" "On virtualized Linux environments, also consider using virtio-rng.\n" "The service will not start until enough entropy has been collected.");