ryantimwilson / rpms / systemd

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