summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2005-02-10 14:43:14 +0000
committerho <ho@openbsd.org>2005-02-10 14:43:14 +0000
commit1423e6ce6485e89aaddcc72bc6308e661ec439d7 (patch)
tree5c76c06934ebeea2de25ababc13dd9281615da0a
parentbackout previous; i committed to wrong repository (i meant to commit kame) (diff)
downloadwireguard-openbsd-1423e6ce6485e89aaddcc72bc6308e661ec439d7.tar.xz
wireguard-openbsd-1423e6ce6485e89aaddcc72bc6308e661ec439d7.zip
Make it compile.
-rw-r--r--sbin/isakmpd/sysdep/common/libsysdep/arc4random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/sysdep/common/libsysdep/arc4random.c b/sbin/isakmpd/sysdep/common/libsysdep/arc4random.c
index 9fe87876d30..28222f769ef 100644
--- a/sbin/isakmpd/sysdep/common/libsysdep/arc4random.c
+++ b/sbin/isakmpd/sysdep/common/libsysdep/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.6 2004/10/08 15:18:26 hshoexer Exp $ */
+/* $OpenBSD: arc4random.c,v 1.7 2005/02/10 14:43:14 ho Exp $ */
/*
* Arc4 random number generator for OpenBSD.
@@ -78,7 +78,7 @@ arc4_addrandom(struct arc4_stream *as, u_char *dat, int datlen)
static void
arc4_stir(struct arc4_stream *as)
{
- int fd;
+ int fd, i;
struct {
struct timeval tv;
u_int8_t rnd[128 - sizeof(struct timeval)];