aboutsummaryrefslogtreecommitdiff
path: root/crypto/md2
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/md2
parent0f423567a72b68b617ad5554e51095f1017a9d7b (diff)
downloadopenssl-b4cadc6e1343c01b06613053a90ed2ee85e65090.zip
openssl-b4cadc6e1343c01b06613053a90ed2ee85e65090.tar.gz
openssl-b4cadc6e1343c01b06613053a90ed2ee85e65090.tar.bz2
Fix security hole.
Diffstat (limited to 'crypto/md2')
-rw-r--r--crypto/md2/Makefile.ssl4
-rw-r--r--crypto/md2/md2_dgst.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/crypto/md2/Makefile.ssl b/crypto/md2/Makefile.ssl
index a18f62a..041c2b0 100644
--- a/crypto/md2/Makefile.ssl
+++ b/crypto/md2/Makefile.ssl
@@ -78,7 +78,7 @@ errors:
# DO NOT DELETE THIS LINE -- make depend depends on it.
-md2_dgst.o: md2.h
+md2_dgst.o: ../opensslv.h md2.h
md2_one.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
md2_one.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-md2_one.o: md2.h
+md2_one.o: ../opensslv.h md2.h
diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c
index 89e62dc..1d5e261 100644
--- a/crypto/md2/md2_dgst.c
+++ b/crypto/md2/md2_dgst.c
@@ -60,8 +60,9 @@
#include <stdlib.h>
#include <string.h>
#include "md2.h"
+#include "opensslv.h"
-char *MD2_version="MD2 part of OpenSSL 0.9.2 31-Dec-1998";
+char *MD2_version="MD2" OPENSSL_VERSION_PTEXT;
/* Implemented from RFC1319 The MD2 Message-Digest Algorithm
*/