summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arc4random/getentropy_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/arc4random/getentropy_linux.c')
-rw-r--r--lib/libcrypto/arc4random/getentropy_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/arc4random/getentropy_linux.c b/lib/libcrypto/arc4random/getentropy_linux.c
index 17d1094811e..78d0d786a65 100644
--- a/lib/libcrypto/arc4random/getentropy_linux.c
+++ b/lib/libcrypto/arc4random/getentropy_linux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getentropy_linux.c,v 1.13 2014/06/25 17:04:18 beck Exp $ */
+/* $OpenBSD: getentropy_linux.c,v 1.14 2014/06/26 13:48:11 deraadt Exp $ */
/*
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -465,7 +465,7 @@ getentropy_fallback(void *buf, size_t len)
#ifdef AT_BASE
p = (char *) getauxval(AT_BASE);
if (p)
- HD(p, sizeof(p));
+ HD(p);
#endif
SHA512_Final(results, &ctx);