aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-03-22 12:22:14 +0000
committerBen Laurie <ben@openssl.org>1999-03-22 12:22:14 +0000
commitb4cadc6e1343c01b06613053a90ed2ee85e65090 (patch)
tree5670424b0d897cd7f8161e321f0f514131265159 /crypto/rand
parent0f423567a72b68b617ad5554e51095f1017a9d7b (diff)
downloadopenssl-b4cadc6e1343c01b06613053a90ed2ee85e65090.tar.gz
Fix security hole.
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/Makefile.ssl2
-rw-r--r--crypto/rand/md_rand.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/Makefile.ssl b/crypto/rand/Makefile.ssl
index 102eaf32be..7325f7a3d4 100644
--- a/crypto/rand/Makefile.ssl
+++ b/crypto/rand/Makefile.ssl
@@ -79,6 +79,6 @@ errors:
# DO NOT DELETE THIS LINE -- make depend depends on it.
md_rand.o: ../../include/e_os.h ../../include/md5.h ../../include/stack.h
-md_rand.o: ../crypto.h rand.h
+md_rand.o: ../crypto.h ../opensslv.h rand.h
rand_lib.o: rand.h
randfile.o: ../../include/e_os.h rand.h
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index 47692cb71c..fcc87438dc 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -128,7 +128,7 @@ static unsigned char state[STATE_SIZE+MD_DIGEST_LENGTH];
static unsigned char md[MD_DIGEST_LENGTH];
static long md_count[2]={0,0};
-char *RAND_version="RAND part of OpenSSL 0.9.2 31-Dec-1998";
+char *RAND_version="RAND" OPENSSL_VERSION_PTEXT;
static void ssleay_rand_cleanup(void);
static void ssleay_rand_seed(const void *buf, int num);