ryantimwilson / rpms / systemd

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