summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/arc4random/getentropy_osx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/arc4random/getentropy_osx.c b/lib/libcrypto/arc4random/getentropy_osx.c
index 2ba400f0826..4b1ca3cce7b 100644
--- a/lib/libcrypto/arc4random/getentropy_osx.c
+++ b/lib/libcrypto/arc4random/getentropy_osx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getentropy_osx.c,v 1.1 2014/07/08 10:45:35 beck Exp $ */
+/* $OpenBSD: getentropy_osx.c,v 1.2 2014/07/09 13:23:15 bcook Exp $ */
/*
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -153,7 +153,7 @@ getentropy_urandom(void *buf, size_t len)
{
struct stat st;
size_t i;
- int fd, cnt, flags;
+ int fd, flags;
int save_errno = errno;
start:
@@ -227,7 +227,7 @@ getentropy_fallback(void *buf, size_t len)
static pid_t lastpid;
void * addr;
pid_t pid;
- size_t i, ii;
+ size_t i;
char *p;
pid = getpid();