summaryrefslogtreecommitdiffstats
path: root/crypto/lhash
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/lhash
parent0f423567a72b68b617ad5554e51095f1017a9d7b (diff)
Fix security hole.
Diffstat (limited to 'crypto/lhash')
-rw-r--r--crypto/lhash/Makefile.ssl4
-rw-r--r--crypto/lhash/lhash.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/lhash/Makefile.ssl b/crypto/lhash/Makefile.ssl
index 3feafce886..1e83078dfe 100644
--- a/crypto/lhash/Makefile.ssl
+++ b/crypto/lhash/Makefile.ssl
@@ -80,5 +80,5 @@ errors:
lh_stats.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
lh_stats.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-lh_stats.o: lhash.h
-lhash.o: ../../include/stack.h ../crypto.h lhash.h
+lh_stats.o: ../opensslv.h lhash.h
+lhash.o: ../../include/stack.h ../crypto.h ../opensslv.h lhash.h
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c
index 73d5fdc45e..133c543c44 100644
--- a/crypto/lhash/lhash.c
+++ b/crypto/lhash/lhash.c
@@ -56,8 +56,6 @@
* [including the GNU Public Licence.]
*/
-char *lh_version="lhash part of OpenSSL 0.9.2 31-Dec-1998";
-
/* Code for dynamic hash table routines
* Author - Eric Young v 2.0
*
@@ -102,6 +100,8 @@ char *lh_version="lhash part of OpenSSL 0.9.2 31-Dec-1998";
#include "crypto.h"
#include "lhash.h"
+char *lh_version="lhash" OPENSSL_VERSION_PTEXT;
+
#undef MIN_NODES
#define MIN_NODES 16
#define UP_LOAD (2*LH_LOAD_MULT) /* load times 256 (default 2) */