dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
36e8a3
From 56f614a5d6305dc1d304c30438db5b394d16e2da Mon Sep 17 00:00:00 2001
36e8a3
From: Michal Sekletar <msekleta@redhat.com>
36e8a3
Date: Fri, 12 Oct 2018 13:58:34 +0000
36e8a3
Subject: [PATCH] random-seed: raise POOL_SIZE_MIN constant to 1024
36e8a3
36e8a3
Resolves: #1619268
36e8a3
---
36e8a3
 src/random-seed/random-seed.c | 2 +-
36e8a3
 1 file changed, 1 insertion(+), 1 deletion(-)
36e8a3
36e8a3
diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c
36e8a3
index 223b56306..adc9f298c 100644
36e8a3
--- a/src/random-seed/random-seed.c
36e8a3
+++ b/src/random-seed/random-seed.c
36e8a3
@@ -14,7 +14,7 @@
36e8a3
 #include "string-util.h"
36e8a3
 #include "util.h"
36e8a3
 
36e8a3
-#define POOL_SIZE_MIN 512
36e8a3
+#define POOL_SIZE_MIN 1024
36e8a3
 
36e8a3
 int main(int argc, char *argv[]) {
36e8a3
         _cleanup_close_ int seed_fd = -1, random_fd = -1;