summaryrefslogtreecommitdiffstats
path: root/crypto/cast
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2009-12-22 11:45:59 +0000
committerBodo Möller <bodo@openssl.org>2009-12-22 11:45:59 +0000
commit40c45f86d4cd38a7c0150fa42fd2a2b445880f6c (patch)
treeb79b7f1d0de2f8e67298c71e084c019f5665b044 /crypto/cast
parenta0b72777249990001e60ec50c19778db7da70e8d (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];