summaryrefslogtreecommitdiff
path: root/crypto/cast/c_ecb.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cast/c_ecb.c')
-rw-r--r--crypto/cast/c_ecb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c
index 0b3da9ad87..b6a3b1fff9 100644
--- a/crypto/cast/c_ecb.c
+++ b/crypto/cast/c_ecb.c
@@ -60,10 +60,10 @@
#include "cast_lcl.h"
#include <openssl/opensslv.h>
-const char *CAST_version="CAST" OPENSSL_VERSION_PTEXT;
+const char CAST_version[]="CAST" OPENSSL_VERSION_PTEXT;
void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
- CAST_KEY *ks, int enc)
+ const CAST_KEY *ks, int enc)
{
CAST_LONG l,d[2];
@@ -77,4 +77,3 @@ void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
l=d[1]; l2n(l,out);
l=d[0]=d[1]=0;
}
-