skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 2abc3b2c555d3dd6f9707b4e866d7984ad9048d6
parent 69fb8c62a31e767be1464a7ccfe2a5bac331c4cc
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sat, 23 Jul 2022 20:21:38 +0000

 Don't use arc4random() for early random on Linux

Signed-off-by: Laurent Bercot <ska@appnovation.com>

Diffstat:
Msrc/librandom/random_buf_early.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/librandom/random_buf_early.c b/src/librandom/random_buf_early.c @@ -2,7 +2,7 @@ #include <skalibs/sysdeps.h> -#if defined(SKALIBS_HASARC4RANDOM) +#if defined(SKALIBS_HASARC4RANDOM) && !defined(__linux__) #include <skalibs/nonposix.h> #include <stdlib.h>