diff options
author | Bodo Möller <bodo@openssl.org> | 2009-12-22 12:46:00 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2009-12-22 12:46:00 +0100 |
commit | f21516075f8adaeaf1a352127af5c3946aad148f (patch) | |
tree | a7d7acdc14120b83e90d0bb2c39ed782492283fd /crypto/cast | |
parent | Constify crypto/cast. (diff) | |
download | openssl-f21516075f8adaeaf1a352127af5c3946aad148f.tar.xz openssl-f21516075f8adaeaf1a352127af5c3946aad148f.zip |
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]; |