diff options
author | 2015-08-25 17:26:43 +0000 | |
---|---|---|
committer | 2015-08-25 17:26:43 +0000 | |
commit | 092b0306084405bbbac0cf79fe62e59790e51b55 (patch) | |
tree | 8b33ce0b3f4755a6af21d942d6a932bad8c995e9 /lib/libcrypto/arc4random/getentropy_solaris.c | |
parent | KNF (diff) | |
download | wireguard-openbsd-092b0306084405bbbac0cf79fe62e59790e51b55.tar.xz wireguard-openbsd-092b0306084405bbbac0cf79fe62e59790e51b55.zip |
unify versions, so they are easier to diff.
Diffstat (limited to 'lib/libcrypto/arc4random/getentropy_solaris.c')
-rw-r--r-- | lib/libcrypto/arc4random/getentropy_solaris.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/arc4random/getentropy_solaris.c b/lib/libcrypto/arc4random/getentropy_solaris.c index 6ec2fe584c7..4133d895fd9 100644 --- a/lib/libcrypto/arc4random/getentropy_solaris.c +++ b/lib/libcrypto/arc4random/getentropy_solaris.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getentropy_solaris.c,v 1.9 2014/07/21 20:19:47 guenther Exp $ */ +/* $OpenBSD: getentropy_solaris.c,v 1.10 2015/08/25 17:26:43 deraadt Exp $ */ /* * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> @@ -64,7 +64,7 @@ #define HR(x, l) (SHA512_Update(&ctx, (char *)(x), (l))) #define HD(x) (SHA512_Update(&ctx, (char *)&(x), sizeof (x))) -#define HF(x) (SHA512_Update(&ctx, (char *)&(x), sizeof (void*))) +#define HF(x) (SHA512_Update(&ctx, (char *)&(x), sizeof (void*))) int getentropy(void *buf, size_t len); |