summaryrefslogtreecommitdiffstats
path: root/crypto/cast/c_ecb.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2009-12-22 10:58:33 +0000
committerBodo Möller <bodo@openssl.org>2009-12-22 10:58:33 +0000
commit7427379e9b73da4c15c91a6faad3c916210b0755 (patch)
tree570f7073c3e4dbc1593f6ef8483487609d9fed31 /crypto/cast/c_ecb.c
parentfbed9f8158ef50518706798a1488f9af4be3eb7d (diff)
Constify crypto/cast.
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 f2dc606226..b6a3b1fff9 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;
}
-