aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/Makefile.ssl6
-rw-r--r--crypto/rand/md_rand.c14
-rw-r--r--crypto/rand/rand_lib.c2
-rw-r--r--crypto/rand/randfile.c4
-rw-r--r--crypto/rand/randtest.c2
5 files changed, 14 insertions, 14 deletions
diff --git a/crypto/rand/Makefile.ssl b/crypto/rand/Makefile.ssl
index 671e4891c7..ea1176b495 100644
--- a/crypto/rand/Makefile.ssl
+++ b/crypto/rand/Makefile.ssl
@@ -45,15 +45,15 @@ files:
links:
@$(TOP)/util/point.sh Makefile.ssl Makefile
- @$(TOP)/util/mklink.sh ../../include $(EXHEADER)
+ @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
@$(TOP)/util/mklink.sh ../../test $(TEST)
@$(TOP)/util/mklink.sh ../../apps $(APPS)
install:
@for i in $(EXHEADER) ; \
do \
- (cp $$i $(INSTALLTOP)/include/$$i; \
- chmod 644 $(INSTALLTOP)/include/$$i ); \
+ (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
+ chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
done;
tags:
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index 5b2db35aae..f476e1ed5d 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -60,8 +60,8 @@
#include <sys/types.h>
#include <time.h>
#include <string.h>
-#include "e_os.h"
-#include "crypto.h"
+#include <openssl/e_os.h>
+#include <openssl/crypto.h>
#if !defined(USE_MD5_RAND) && !defined(USE_SHA1_RAND) && !defined(USE_MDC2_RAND) && !defined(USE_MD2_RAND)
#ifndef NO_MD5
@@ -84,7 +84,7 @@ We need a message digest of some type
*/
#if defined(USE_MD5_RAND)
-#include "md5.h"
+#include <openssl/md5.h>
#define MD_DIGEST_LENGTH MD5_DIGEST_LENGTH
#define MD_CTX MD5_CTX
#define MD_Init(a) MD5_Init(a)
@@ -92,7 +92,7 @@ We need a message digest of some type
#define MD_Final(a,b) MD5_Final(a,b)
#define MD(a,b,c) MD5(a,b,c)
#elif defined(USE_SHA1_RAND)
-#include "sha.h"
+#include <openssl/sha.h>
#define MD_DIGEST_LENGTH SHA_DIGEST_LENGTH
#define MD_CTX SHA_CTX
#define MD_Init(a) SHA1_Init(a)
@@ -100,7 +100,7 @@ We need a message digest of some type
#define MD_Final(a,b) SHA1_Final(a,b)
#define MD(a,b,c) SHA1(a,b,c)
#elif defined(USE_MDC2_RAND)
-#include "mdc2.h"
+#include <openssl/mdc2.h>
#define MD_DIGEST_LENGTH MDC2_DIGEST_LENGTH
#define MD_CTX MDC2_CTX
#define MD_Init(a) MDC2_Init(a)
@@ -108,7 +108,7 @@ We need a message digest of some type
#define MD_Final(a,b) MDC2_Final(a,b)
#define MD(a,b,c) MDC2(a,b,c)
#elif defined(USE_MD2_RAND)
-#include "md2.h"
+#include <openssl/md2.h>
#define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH
#define MD_CTX MD2_CTX
#define MD_Init(a) MD2_Init(a)
@@ -117,7 +117,7 @@ We need a message digest of some type
#define MD(a,b,c) MD2(a,b,c)
#endif
-#include "rand.h"
+#include <openssl/rand.h>
/* #define NORAND 1 */
/* #define PREDICT 1 */
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 2eb5e12182..34c6d5b968 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -59,7 +59,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <time.h>
-#include "rand.h"
+#include <openssl/rand.h>
#ifdef NO_RAND
static RAND_METHOD *rand_meth=NULL;
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 1cea7696f9..4c7648728c 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -62,8 +62,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include "e_os.h"
-#include "rand.h"
+#include <openssl/e_os.h>
+#include <openssl/rand.h>
#undef BUFSIZE
#define BUFSIZE 1024
diff --git a/crypto/rand/randtest.c b/crypto/rand/randtest.c
index e0ba61e123..5722bf746e 100644
--- a/crypto/rand/randtest.c
+++ b/crypto/rand/randtest.c
@@ -58,7 +58,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include "rand.h"
+#include <openssl/rand.h>
/* some FIPS 140-1 random number test */
/* some simple tests */