diff options
author | David Tardon <dtardon@redhat.com> | 2021-07-15 11:15:17 +0200 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2021-08-06 12:27:36 +0200 |
commit | f1266682aca4a2ed3d85017527d1456cbe5d2f2a (patch) | |
tree | 2dd05e8a348f0ab9e1201e45fec0c7b4eb2e9b0e | |
parent | a311dc4ade908452d7920452a18ce411af0f6dd3 (diff) | |
download | systemd-f1266682aca4a2ed3d85017527d1456cbe5d2f2a.tar.gz |
random-util: increase random seed size to 1024
RHEL-only
Resolves: #1982603
-rw-r--r-- | src/basic/random-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/random-util.h b/src/basic/random-util.h index e6528ddc7f..fda78552f6 100644 --- a/src/basic/random-util.h +++ b/src/basic/random-util.h @@ -34,7 +34,7 @@ static inline uint32_t random_u32(void) { int rdrand(unsigned long *ret); /* Some limits on the pool sizes when we deal with the kernel random pool */ -#define RANDOM_POOL_SIZE_MIN 512U +#define RANDOM_POOL_SIZE_MIN 1024U #define RANDOM_POOL_SIZE_MAX (10U*1024U*1024U) size_t random_pool_size(void); |