richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
65878a
From 20436a1eb3a468b7bc32fe1d36cb7c4029519052 Mon Sep 17 00:00:00 2001
65878a
From: Lukas Nykryn <lnykryn@redhat.com>
65878a
Date: Thu, 24 Jul 2014 11:17:36 +0200
65878a
Subject: [PATCH] random-seed: raise POOL_SIZE_MIN constant to 1024
65878a
65878a
Resolves: #1066517
65878a
---
65878a
 src/random-seed/random-seed.c | 2 +-
65878a
 1 file changed, 1 insertion(+), 1 deletion(-)
65878a
65878a
diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c
65878a
index af79ecf..8b7bfbb 100644
65878a
--- a/src/random-seed/random-seed.c
65878a
+++ b/src/random-seed/random-seed.c
65878a
@@ -29,7 +29,7 @@
65878a
 #include "util.h"
65878a
 #include "mkdir.h"
65878a
 
65878a
-#define POOL_SIZE_MIN 512
65878a
+#define POOL_SIZE_MIN 1024
65878a
 
65878a
 int main(int argc, char *argv[]) {
65878a
         _cleanup_close_ int seed_fd = -1, random_fd = -1;