diff options
author | Bodo Möller <bodo@openssl.org> | 2009-12-22 11:46:00 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2009-12-22 11:46:00 +0000 |
commit | f21516075f8adaeaf1a352127af5c3946aad148f (patch) | |
tree | a7d7acdc14120b83e90d0bb2c39ed782492283fd /crypto/cast/c_enc.c | |
parent | 7427379e9b73da4c15c91a6faad3c916210b0755 (diff) | |
download | openssl-f21516075f8adaeaf1a352127af5c3946aad148f.tar.gz |
Constify crypto/cast.
Diffstat (limited to 'crypto/cast/c_enc.c')
-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]; |