summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>2014-06-20 20:18:19 +0000
committerderaadt <>2014-06-20 20:18:19 +0000
commit2b0819e1b06f3c51c65a7974dfe3d20f6c766587 (patch)
tree2545fb8990396b62dc0093da06de174a67f7266f /src
parentf387536fa324039354054f967495de1d420cfe5c (diff)
downloadopenbsd-2b0819e1b06f3c51c65a7974dfe3d20f6c766587.tar.gz
openbsd-2b0819e1b06f3c51c65a7974dfe3d20f6c766587.tar.bz2
openbsd-2b0819e1b06f3c51c65a7974dfe3d20f6c766587.zip
indent
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/arc4random/getentropy_linux.c4
-rw-r--r--src/lib/libcrypto/crypto/getentropy_linux.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_linux.c b/src/lib/libcrypto/arc4random/getentropy_linux.c
index 993c1d2a83..ea838cd03c 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.2 2014/06/20 19:53:36 otto Exp $ */ 1/* $OpenBSD: getentropy_linux.c,v 1.3 2014/06/20 20:18:19 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>
@@ -179,7 +179,7 @@ start:
179 if (fd == -1) { 179 if (fd == -1) {
180 if (errno == EINTR) 180 if (errno == EINTR)
181 goto start; 181 goto start;
182 goto nodevrandom; 182 goto nodevrandom;
183 } 183 }
184 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); 184 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
185#endif 185#endif
diff --git a/src/lib/libcrypto/crypto/getentropy_linux.c b/src/lib/libcrypto/crypto/getentropy_linux.c
index 993c1d2a83..ea838cd03c 100644
--- a/src/lib/libcrypto/crypto/getentropy_linux.c
+++ b/src/lib/libcrypto/crypto/getentropy_linux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getentropy_linux.c,v 1.2 2014/06/20 19:53:36 otto Exp $ */ 1/* $OpenBSD: getentropy_linux.c,v 1.3 2014/06/20 20:18:19 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>
@@ -179,7 +179,7 @@ start:
179 if (fd == -1) { 179 if (fd == -1) {
180 if (errno == EINTR) 180 if (errno == EINTR)
181 goto start; 181 goto start;
182 goto nodevrandom; 182 goto nodevrandom;
183 } 183 }
184 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); 184 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
185#endif 185#endif