aboutsummaryrefslogtreecommitdiffstats
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c
index f2dc6062267f..b6a3b1fff92f 100644
--- a/crypto/cast/c_ecb.c
+++ b/crypto/cast/c_ecb.c
@@ -63,7 +63,7 @@
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;
}
-