valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0021-random-seed-raise-POOL_SIZE_MIN-constant-to-1024.patch

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