diff options
author | Ben Laurie <ben@openssl.org> | 1999-03-22 12:22:14 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-03-22 12:22:14 +0000 |
commit | b4cadc6e1343c01b06613053a90ed2ee85e65090 (patch) | |
tree | 5670424b0d897cd7f8161e321f0f514131265159 /crypto/sha | |
parent | 0f423567a72b68b617ad5554e51095f1017a9d7b (diff) |
Fix security hole.
Diffstat (limited to 'crypto/sha')
-rw-r--r-- | crypto/sha/Makefile.ssl | 4 | ||||
-rw-r--r-- | crypto/sha/sha1dgst.c | 3 | ||||
-rw-r--r-- | crypto/sha/sha_dgst.c | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/crypto/sha/Makefile.ssl b/crypto/sha/Makefile.ssl index 36993d04d6..9214c583a8 100644 --- a/crypto/sha/Makefile.ssl +++ b/crypto/sha/Makefile.ssl @@ -102,6 +102,6 @@ errors: # DO NOT DELETE THIS LINE -- make depend depends on it. sha1_one.o: sha.h -sha1dgst.o: sha.h sha_locl.h -sha_dgst.o: sha.h sha_locl.h +sha1dgst.o: ../opensslv.h sha.h sha_locl.h +sha_dgst.o: ../opensslv.h sha.h sha_locl.h sha_one.o: sha.h diff --git a/crypto/sha/sha1dgst.c b/crypto/sha/sha1dgst.c index 558175d216..344b3833d3 100644 --- a/crypto/sha/sha1dgst.c +++ b/crypto/sha/sha1dgst.c @@ -62,8 +62,9 @@ #define SHA_1 #include "sha.h" #include "sha_locl.h" +#include "opensslv.h" -char *SHA1_version="SHA1 part of OpenSSL 0.9.2 31-Dec-1998"; +char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT; /* Implemented from SHA-1 document - The Secure Hash Algorithm */ diff --git a/crypto/sha/sha_dgst.c b/crypto/sha/sha_dgst.c index fcca22b011..15245e3b2c 100644 --- a/crypto/sha/sha_dgst.c +++ b/crypto/sha/sha_dgst.c @@ -62,8 +62,9 @@ #undef SHA_1 #include "sha.h" #include "sha_locl.h" +#include "opensslv.h" -char *SHA_version="SHA part of OpenSSL 0.9.2 31-Dec-1998"; +char *SHA_version="SHA" OPENSSL_VERSION_PTEXT; /* Implemented from SHA-0 document - The Secure Hash Algorithm */ |