valeriyvdovin / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0238-random-seed-raise-POOL_SIZE_MIN-constant-to-1024.patch

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