diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-arc4random.c | 4 |
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 | ||
27 | RCSID("$Id: bsd-arc4random.c,v 1.3 2001/03/18 22:38:16 djm Exp $"); | 28 | RCSID("$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 |