aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bf
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/bf
parent0f423567a72b68b617ad5554e51095f1017a9d7b (diff)
downloadopenssl-b4cadc6e1343c01b06613053a90ed2ee85e65090.tar.gz
Fix security hole.
Diffstat (limited to 'crypto/bf')
-rw-r--r--crypto/bf/Makefile.ssl2
-rw-r--r--crypto/bf/bf_ecb.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bf/Makefile.ssl b/crypto/bf/Makefile.ssl
index d476edd747..cc4e3586df 100644
--- a/crypto/bf/Makefile.ssl
+++ b/crypto/bf/Makefile.ssl
@@ -106,7 +106,7 @@ errors:
# DO NOT DELETE THIS LINE -- make depend depends on it.
bf_cfb64.o: bf_locl.h blowfish.h
-bf_ecb.o: bf_locl.h blowfish.h
+bf_ecb.o: ../opensslv.h bf_locl.h blowfish.h
bf_enc.o: bf_locl.h blowfish.h
bf_ofb64.o: bf_locl.h blowfish.h
bf_skey.o: bf_locl.h bf_pi.h blowfish.h
diff --git a/crypto/bf/bf_ecb.c b/crypto/bf/bf_ecb.c
index 0af1405c06..fd362b7cc9 100644
--- a/crypto/bf/bf_ecb.c
+++ b/crypto/bf/bf_ecb.c
@@ -58,13 +58,14 @@
#include "blowfish.h"
#include "bf_locl.h"
+#include "opensslv.h"
/* Blowfish as implemented from 'Blowfish: Springer-Verlag paper'
* (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION,
* CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993)
*/
-char *BF_version="BlowFish part of OpenSSL 0.9.2 31-Dec-1998";
+char *BF_version="BlowFish" OPENSSL_VERSION_PTEXT;
char *BF_options()
{