aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-01-25 21:19:12 +0000
committerBen Laurie <ben@openssl.org>1999-01-25 21:19:12 +0000
commita224de3f5d017526c06bf869a5b8208c7768a80c (patch)
tree0ca9a23aab98e90633167040301dee22aced8c26 /crypto/rand
parentf317aa4c9cb03dd680247bdcf6a22c1b799890e7 (diff)
downloadopenssl-a224de3f5d017526c06bf869a5b8208c7768a80c.tar.gz
Reduce header dependencies.
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/md_rand.c4
-rw-r--r--crypto/rand/randfile.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index e5ecc6e365..c52d89babb 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -57,9 +57,11 @@
*/
#include <stdio.h>
-#include "cryptlib.h"
#include <sys/types.h>
#include <time.h>
+#include <string.h>
+#include "e_os.h"
+#include "crypto.h"
#if !defined(USE_MD5_RAND) && !defined(USE_SHA1_RAND) && !defined(USE_MDC2_RAND) && !defined(USE_MD2_RAND)
#ifndef NO_MD5
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index de7567bc46..468da4f874 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -57,10 +57,13 @@
*/
#include <stdio.h>
-#include "cryptlib.h"
+#include <stdlib.h>
+#include <string.h>
+#include <memory.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include "e_os.h"
#include "rand.h"
#undef BUFSIZE