diff options
-rw-r--r-- | src/lib/libcrypto/arc4random/getentropy_linux.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/crypto/getentropy_linux.c | 4 |
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 17d1094811..78d0d786a6 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.13 2014/06/25 17:04:18 beck Exp $ */ | 1 | /* $OpenBSD: getentropy_linux.c,v 1.14 2014/06/26 13:48:11 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> |
@@ -465,7 +465,7 @@ getentropy_fallback(void *buf, size_t len) | |||
465 | #ifdef AT_BASE | 465 | #ifdef AT_BASE |
466 | p = (char *) getauxval(AT_BASE); | 466 | p = (char *) getauxval(AT_BASE); |
467 | if (p) | 467 | if (p) |
468 | HD(p, sizeof(p)); | 468 | HD(p); |
469 | #endif | 469 | #endif |
470 | 470 | ||
471 | SHA512_Final(results, &ctx); | 471 | SHA512_Final(results, &ctx); |
diff --git a/src/lib/libcrypto/crypto/getentropy_linux.c b/src/lib/libcrypto/crypto/getentropy_linux.c index 17d1094811..78d0d786a6 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.13 2014/06/25 17:04:18 beck Exp $ */ | 1 | /* $OpenBSD: getentropy_linux.c,v 1.14 2014/06/26 13:48:11 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> |
@@ -465,7 +465,7 @@ getentropy_fallback(void *buf, size_t len) | |||
465 | #ifdef AT_BASE | 465 | #ifdef AT_BASE |
466 | p = (char *) getauxval(AT_BASE); | 466 | p = (char *) getauxval(AT_BASE); |
467 | if (p) | 467 | if (p) |
468 | HD(p, sizeof(p)); | 468 | HD(p); |
469 | #endif | 469 | #endif |
470 | 470 | ||
471 | SHA512_Final(results, &ctx); | 471 | SHA512_Final(results, &ctx); |