skalibs

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

commit 6d2c28acaa0c11841ca57ffe2b07e34c91cdea9e
parent a36a3eb159d88507705253577814a8fdcb2a86d1
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Wed, 15 Mar 2017 13:48:23 +0000

 Fix trydevurandom test

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

diff --git a/src/sysdeps/trydevurandom.c b/src/sysdeps/trydevurandom.c @@ -16,5 +16,5 @@ int main (void) fd = open("/dev/urandom", O_RDONLY) ; if ((fd == -1) || (read(fd, b, 64) < 64) ) return 111 ; close(fd) ; - return (!memcmp(a, 64, b)) ; + return (!memcmp(a, b, 64)) ; }