summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arc4random/getentropy_hpux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/arc4random/getentropy_hpux.c')
-rw-r--r--src/lib/libcrypto/arc4random/getentropy_hpux.c4
1 files changed, 2 insertions, 2 deletions
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;