dcavalca / rpms / systemd

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