summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arc4random
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-26 13:48:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-26 13:48:12 +0000
commitd33024406bef1757523e985b8c97875b936adf6e (patch)
tree0778033b6cb9bda93806b650158a1ff16f482798 /lib/libcrypto/arc4random
parent53e55b97baf2234f143cc6966c81c48ada96bd3d (diff)
fix HD() misuse; from brent cook
Diffstat (limited to 'lib/libcrypto/arc4random')
-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);