diff options
| author | deraadt <> | 2014-06-20 20:18:19 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-06-20 20:18:19 +0000 |
| commit | d3e22e9c50e83db115b4f6f947b5571a760ac96e (patch) | |
| tree | 2545fb8990396b62dc0093da06de174a67f7266f /src/lib/libcrypto/arc4random/getentropy_linux.c | |
| parent | 7d02b5805a478d68ef91267caae94614e70d5d81 (diff) | |
| download | openbsd-d3e22e9c50e83db115b4f6f947b5571a760ac96e.tar.gz openbsd-d3e22e9c50e83db115b4f6f947b5571a760ac96e.tar.bz2 openbsd-d3e22e9c50e83db115b4f6f947b5571a760ac96e.zip | |
indent
Diffstat (limited to 'src/lib/libcrypto/arc4random/getentropy_linux.c')
| -rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_linux.c | 4 |
1 files changed, 2 insertions, 2 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 |
