diff options
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_aix.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_hpux.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_linux.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_osx.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_solaris.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_aix.c b/src/lib/libcrypto/arc4random/getentropy_aix.c index 422e685dd8..7fb857e6d2 100644 --- a/src/lib/libcrypto/arc4random/getentropy_aix.c +++ b/src/lib/libcrypto/arc4random/getentropy_aix.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_aix.c,v 1.7 2020/05/17 14:44:20 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_aix.c,v 1.8 2021/10/24 21:24:20 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2015 Michael Felt <aixtools@gmail.com> | 4 | * Copyright (c) 2015 Michael Felt <aixtools@gmail.com> |
@@ -134,7 +134,7 @@ start: | |||
134 | #ifdef O_CLOEXEC | 134 | #ifdef O_CLOEXEC |
135 | flags |= O_CLOEXEC; | 135 | flags |= O_CLOEXEC; |
136 | #endif | 136 | #endif |
137 | fd = open(path, flags, 0); | 137 | fd = open(path, flags); |
138 | if (fd == -1) { | 138 | if (fd == -1) { |
139 | if (errno == EINTR) | 139 | if (errno == EINTR) |
140 | goto start; | 140 | goto start; |
diff --git a/src/lib/libcrypto/arc4random/getentropy_hpux.c b/src/lib/libcrypto/arc4random/getentropy_hpux.c index c981880aad..7188ae5e19 100644 --- a/src/lib/libcrypto/arc4random/getentropy_hpux.c +++ b/src/lib/libcrypto/arc4random/getentropy_hpux.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_hpux.c,v 1.7 2020/05/17 14:44:20 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_hpux.c,v 1.8 2021/10/24 21:24:20 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -138,7 +138,7 @@ start: | |||
138 | #ifdef O_CLOEXEC | 138 | #ifdef O_CLOEXEC |
139 | flags |= O_CLOEXEC; | 139 | flags |= O_CLOEXEC; |
140 | #endif | 140 | #endif |
141 | fd = open(path, flags, 0); | 141 | fd = open(path, flags); |
142 | if (fd == -1) { | 142 | if (fd == -1) { |
143 | if (errno == EINTR) | 143 | if (errno == EINTR) |
144 | goto start; | 144 | goto start; |
diff --git a/src/lib/libcrypto/arc4random/getentropy_linux.c b/src/lib/libcrypto/arc4random/getentropy_linux.c index bc7a6bef7b..c7c39c234f 100644 --- a/src/lib/libcrypto/arc4random/getentropy_linux.c +++ b/src/lib/libcrypto/arc4random/getentropy_linux.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_linux.c,v 1.47 2020/05/17 14:44:20 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_linux.c,v 1.48 2021/10/24 21:24:20 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -212,7 +212,7 @@ start: | |||
212 | #ifdef O_CLOEXEC | 212 | #ifdef O_CLOEXEC |
213 | flags |= O_CLOEXEC; | 213 | flags |= O_CLOEXEC; |
214 | #endif | 214 | #endif |
215 | fd = open("/dev/urandom", flags, 0); | 215 | fd = open("/dev/urandom", flags); |
216 | if (fd == -1) { | 216 | if (fd == -1) { |
217 | if (errno == EINTR) | 217 | if (errno == EINTR) |
218 | goto start; | 218 | goto start; |
diff --git a/src/lib/libcrypto/arc4random/getentropy_osx.c b/src/lib/libcrypto/arc4random/getentropy_osx.c index 5d4067bb8e..db028d19b8 100644 --- a/src/lib/libcrypto/arc4random/getentropy_osx.c +++ b/src/lib/libcrypto/arc4random/getentropy_osx.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_osx.c,v 1.13 2020/05/17 14:44:20 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_osx.c,v 1.14 2021/10/24 21:24:20 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -158,7 +158,7 @@ start: | |||
158 | #ifdef O_CLOEXEC | 158 | #ifdef O_CLOEXEC |
159 | flags |= O_CLOEXEC; | 159 | flags |= O_CLOEXEC; |
160 | #endif | 160 | #endif |
161 | fd = open("/dev/urandom", flags, 0); | 161 | fd = open("/dev/urandom", flags); |
162 | if (fd == -1) { | 162 | if (fd == -1) { |
163 | if (errno == EINTR) | 163 | if (errno == EINTR) |
164 | goto start; | 164 | goto start; |
diff --git a/src/lib/libcrypto/arc4random/getentropy_solaris.c b/src/lib/libcrypto/arc4random/getentropy_solaris.c index cf5b9bffa6..e36426caf1 100644 --- a/src/lib/libcrypto/arc4random/getentropy_solaris.c +++ b/src/lib/libcrypto/arc4random/getentropy_solaris.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_solaris.c,v 1.14 2020/05/17 14:44:20 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_solaris.c,v 1.15 2021/10/24 21:24:20 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -164,7 +164,7 @@ start: | |||
164 | #ifdef O_CLOEXEC | 164 | #ifdef O_CLOEXEC |
165 | flags |= O_CLOEXEC; | 165 | flags |= O_CLOEXEC; |
166 | #endif | 166 | #endif |
167 | fd = open(path, flags, 0); | 167 | fd = open(path, flags); |
168 | if (fd == -1) { | 168 | if (fd == -1) { |
169 | if (errno == EINTR) | 169 | if (errno == EINTR) |
170 | goto start; | 170 | goto start; |