richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
803fb7
From 6a4ea99f07b32659362c9a1a38be8bec2bb0964c Mon Sep 17 00:00:00 2001
803fb7
From: Jan Synacek <jsynacek@redhat.com>
803fb7
Date: Wed, 25 Jan 2017 08:39:15 +0100
803fb7
Subject: [PATCH] random-seed: raise POOL_SIZE_MIN to 1024
803fb7
803fb7
Resolves: #1386824
803fb7
---
803fb7
 src/random-seed/random-seed.c | 2 +-
803fb7
 1 file changed, 1 insertion(+), 1 deletion(-)
803fb7
803fb7
diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c
803fb7
index ce1bd195d..3ccc8f681 100644
803fb7
--- a/src/random-seed/random-seed.c
803fb7
+++ b/src/random-seed/random-seed.c
803fb7
@@ -29,7 +29,7 @@
803fb7
 #include "util.h"
803fb7
 #include "mkdir.h"
803fb7
 
803fb7
-#define POOL_SIZE_MIN 512
803fb7
+#define POOL_SIZE_MIN 1024
803fb7
 
803fb7
 int main(int argc, char *argv[]) {
803fb7
         _cleanup_close_ int seed_fd = -1, random_fd = -1;