summaryrefslogtreecommitdiffstats
path: root/crypto/cast
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2009-12-22 11:46:00 +0000
committerBodo Möller <bodo@openssl.org>2009-12-22 11:46:00 +0000
commitf21516075f8adaeaf1a352127af5c3946aad148f (patch)
treea7d7acdc14120b83e90d0bb2c39ed782492283fd /crypto/cast
parent7427379e9b73da4c15c91a6faad3c916210b0755 (diff)
Constify crypto/cast.
Diffstat (limited to 'crypto/cast')
-rw-r--r--crypto/cast/c_enc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/cast/c_enc.c b/crypto/cast/c_enc.c
index 433b5f11b8..357c41ebf0 100644
--- a/crypto/cast/c_enc.c
+++ b/crypto/cast/c_enc.c
@@ -61,7 +61,8 @@
void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
{
- register CAST_LONG l,r,*k,t;
+ register CAST_LONG l,r,t;
+ const register CAST_LONG *k;
k= &(key->data[0]);
l=data[0];
@@ -93,7 +94,8 @@ void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key)
{
- register CAST_LONG l,r,*k,t;
+ register CAST_LONG l,r,t;
+ const register CAST_LONG *k;
k= &(key->data[0]);
l=data[0];