diff options
| author | deraadt <> | 2015-09-11 11:52:55 +0000 |
|---|---|---|
| committer | deraadt <> | 2015-09-11 11:52:55 +0000 |
| commit | 2a8f39dde4eb3fc8b492e8c665128c557ff500af (patch) | |
| tree | 3eca2f8474bd414322105d51e0a8bdb7f2035269 /src/lib/libcrypto/arc4random/getentropy_win.c | |
| parent | 0dd7e6b53207a35f05ffb30e367e39644d20f096 (diff) | |
| download | openbsd-2a8f39dde4eb3fc8b492e8c665128c557ff500af.tar.gz openbsd-2a8f39dde4eb3fc8b492e8c665128c557ff500af.tar.bz2 openbsd-2a8f39dde4eb3fc8b492e8c665128c557ff500af.zip | |
unify files further
Diffstat (limited to 'src/lib/libcrypto/arc4random/getentropy_win.c')
| -rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arc4random/getentropy_win.c b/src/lib/libcrypto/arc4random/getentropy_win.c index da048ae157..2e89b12205 100644 --- a/src/lib/libcrypto/arc4random/getentropy_win.c +++ b/src/lib/libcrypto/arc4random/getentropy_win.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: getentropy_win.c,v 1.3 2014/11/11 13:54:33 bcook Exp $ */ | 1 | /* $OpenBSD: getentropy_win.c,v 1.4 2015/09/11 11:52:55 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> |
| @@ -40,7 +40,7 @@ getentropy(void *buf, size_t len) | |||
| 40 | 40 | ||
| 41 | if (len > 256) { | 41 | if (len > 256) { |
| 42 | errno = EIO; | 42 | errno = EIO; |
| 43 | return -1; | 43 | return (-1); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | if (CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL, | 46 | if (CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL, |
