summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeck <>2014-07-13 09:32:42 +0000
committerbeck <>2014-07-13 09:32:42 +0000
commit2611981c7e016c2f3dcbe69051bc2dbf5d4a4d11 (patch)
tree8c414e8022cabf4c404ad21a6e220f4bbf32cc2f
parentf61e82f8c5e37c8313274c4d46ad39bc8f9d4e61 (diff)
downloadopenbsd-2611981c7e016c2f3dcbe69051bc2dbf5d4a4d11.tar.gz
openbsd-2611981c7e016c2f3dcbe69051bc2dbf5d4a4d11.tar.bz2
openbsd-2611981c7e016c2f3dcbe69051bc2dbf5d4a4d11.zip
While we thought this would make portable life easier it actually
makes it much harder. ok bcook@ kettenis@
-rw-r--r--src/lib/libc/crypt/arc4random.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/arc4random.c b/src/lib/libc/crypt/arc4random.c
index 4fb57e0858..235a5d8d83 100644
--- a/src/lib/libc/crypt/arc4random.c
+++ b/src/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: arc4random.c,v 1.42 2014/07/12 18:57:41 deraadt Exp $ */ 1/* $OpenBSD: arc4random.c,v 1.43 2014/07/13 09:32:42 beck Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 4 * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -34,9 +34,7 @@
34#include <sys/time.h> 34#include <sys/time.h>
35#include <sys/mman.h> 35#include <sys/mman.h>
36 36
37#ifdef __OpenBSD__
38#include "thread_private.h" 37#include "thread_private.h"
39#endif /* __OpenBSD__ */
40 38
41#define KEYSTREAM_ONLY 39#define KEYSTREAM_ONLY
42#include "chacha_private.h" 40#include "chacha_private.h"