summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-03-19 10:00:53 +1100
committerDamien Miller <djm@mindrot.org>2001-03-19 10:00:53 +1100
commita2dc6030f769d7737bf481d2d4c77f82bc4b7965 (patch)
treee6259a68dc0ff8f8f5b59c755366e1850f6a5b1e
parent60bc51735643baa1b7fb237ea56303fed454dadb (diff)
Add missing headers
-rw-r--r--openbsd-compat/bsd-arc4random.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-arc4random.c b/openbsd-compat/bsd-arc4random.c
index 2f3130700..aaf9a7b0b 100644
--- a/openbsd-compat/bsd-arc4random.c
+++ b/openbsd-compat/bsd-arc4random.c
@@ -23,13 +23,15 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26#include "log.h"
26 27
27RCSID("$Id: bsd-arc4random.c,v 1.3 2001/03/18 22:38:16 djm Exp $"); 28RCSID("$Id: bsd-arc4random.c,v 1.4 2001/03/18 23:00:53 djm Exp $");
28 29
29#ifndef HAVE_ARC4RANDOM 30#ifndef HAVE_ARC4RANDOM
30 31
31#include <openssl/rand.h> 32#include <openssl/rand.h>
32#include <openssl/rc4.h> 33#include <openssl/rc4.h>
34#include <openssl/err.h>
33 35
34/* Size of key to use */ 36/* Size of key to use */
35#define SEED_SIZE 20 37#define SEED_SIZE 20