diff options
author | June McEnroe <june@causal.agency> | 2022-02-27 09:57:33 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-27 09:57:33 -0500 |
commit | 913a7ee3584b9cdb05b473123b529677f16e4e0b (patch) | |
tree | 45ed028bf5e09339cd815eb1277b6343213d44b6 /compat/getentropy_osx.c | |
parent | Import LibreSSL 3.4.2 (diff) | |
download | libretls-913a7ee3584b9cdb05b473123b529677f16e4e0b.tar.gz libretls-913a7ee3584b9cdb05b473123b529677f16e4e0b.zip |
Import LibreSSL 3.5.0
Diffstat (limited to '')
-rw-r--r-- | compat/getentropy_osx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/getentropy_osx.c b/compat/getentropy_osx.c index 5d4067b..db028d1 100644 --- a/compat/getentropy_osx.c +++ b/compat/getentropy_osx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getentropy_osx.c,v 1.13 2020/05/17 14:44:20 deraadt Exp $ */ +/* $OpenBSD: getentropy_osx.c,v 1.14 2021/10/24 21:24:20 deraadt Exp $ */ /* * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> @@ -158,7 +158,7 @@ start: #ifdef O_CLOEXEC flags |= O_CLOEXEC; #endif - fd = open("/dev/urandom", flags, 0); + fd = open("/dev/urandom", flags); if (fd == -1) { if (errno == EINTR) goto start; |