summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt/arc4random.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-07-13 09:32:42 +0000
committerbeck <beck@openbsd.org>2014-07-13 09:32:42 +0000
commitd2556a96dcd5309dd07c0a73554a3f70e7ff2bf5 (patch)
treec5a8b6f7edac8e70ef8ee238bac3ea3956d0207c /lib/libc/crypt/arc4random.c
parentNo need to include evp_locl.h in there. (diff)
downloadwireguard-openbsd-d2556a96dcd5309dd07c0a73554a3f70e7ff2bf5.tar.xz
wireguard-openbsd-d2556a96dcd5309dd07c0a73554a3f70e7ff2bf5.zip
While we thought this would make portable life easier it actually
makes it much harder. ok bcook@ kettenis@
Diffstat (limited to 'lib/libc/crypt/arc4random.c')
-rw-r--r--lib/libc/crypt/arc4random.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c
index 4fb57e08587..235a5d8d83b 100644
--- a/lib/libc/crypt/arc4random.c
+++ b/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.42 2014/07/12 18:57:41 deraadt Exp $ */
+/* $OpenBSD: arc4random.c,v 1.43 2014/07/13 09:32:42 beck Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -34,9 +34,7 @@
#include <sys/time.h>
#include <sys/mman.h>
-#ifdef __OpenBSD__
#include "thread_private.h"
-#endif /* __OpenBSD__ */
#define KEYSTREAM_ONLY
#include "chacha_private.h"