summaryrefslogtreecommitdiff
path: root/bsd-arc4random.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-arc4random.c')
-rw-r--r--bsd-arc4random.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bsd-arc4random.c b/bsd-arc4random.c
index fb378d848..ea0abf3f4 100644
--- a/bsd-arc4random.c
+++ b/bsd-arc4random.c
@@ -23,11 +23,12 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26#include <openssl/rand.h>
27#include <openssl/rc4.h>
28 26
29#ifndef HAVE_ARC4RANDOM 27#ifndef HAVE_ARC4RANDOM
30 28
29#include <openssl/rand.h>
30#include <openssl/rc4.h>
31
31/* Size of key to use */ 32/* Size of key to use */
32#define SEED_SIZE 20 33#define SEED_SIZE 20
33 34