diff options
author | Bodo Möller <bodo@openssl.org> | 2009-12-22 11:45:59 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2009-12-22 11:45:59 +0000 |
commit | 40c45f86d4cd38a7c0150fa42fd2a2b445880f6c (patch) | |
tree | b79b7f1d0de2f8e67298c71e084c019f5665b044 /crypto/cast | |
parent | a0b72777249990001e60ec50c19778db7da70e8d (diff) |
Constify crypto/cast.
Diffstat (limited to 'crypto/cast')
-rw-r--r-- | crypto/cast/c_enc.c | 6 |
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]; |