Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-03-22 15:22:14 +0300
committerBen Laurie <ben@openssl.org>1999-03-22 15:22:14 +0300
commitb4cadc6e1343c01b06613053a90ed2ee85e65090 (patch)
tree5670424b0d897cd7f8161e321f0f514131265159 /crypto/cast
parent0f423567a72b68b617ad5554e51095f1017a9d7b (diff)
Fix security hole.
Diffstat (limited to 'crypto/cast')
-rw-r--r--crypto/cast/Makefile.ssl2
-rw-r--r--crypto/cast/c_ecb.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/cast/Makefile.ssl b/crypto/cast/Makefile.ssl
index 3911b6c118..72ae8dec8a 100644
--- a/crypto/cast/Makefile.ssl
+++ b/crypto/cast/Makefile.ssl
@@ -108,7 +108,7 @@ errors:
# DO NOT DELETE THIS LINE -- make depend depends on it.
c_cfb64.o: cast.h cast_lcl.h
-c_ecb.o: cast.h cast_lcl.h
+c_ecb.o: ../opensslv.h cast.h cast_lcl.h
c_enc.o: cast.h cast_lcl.h
c_ofb64.o: cast.h cast_lcl.h
c_skey.o: cast.h cast_lcl.h cast_s.h
diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c
index 660bc691d7..e6a3d4332e 100644
--- a/crypto/cast/c_ecb.c
+++ b/crypto/cast/c_ecb.c
@@ -58,8 +58,9 @@
#include "cast.h"
#include "cast_lcl.h"
+#include "opensslv.h"
-char *CAST_version="CAST part of OpenSSL 0.9.2 31-Dec-1998";
+char *CAST_version="CAST" OPENSSL_VERSION_PTEXT;
void CAST_ecb_encrypt(in, out, ks, encrypt)
unsigned char *in;