From: Bodo Möller Date: Tue, 22 Dec 2009 11:46:00 +0000 (+0000) Subject: Constify crypto/cast. X-Git-Tag: OpenSSL-fips-2_0-rc1~1390 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f21516075f8adaeaf1a352127af5c3946aad148f;p=oweals%2Fopenssl.git Constify crypto/cast. --- 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];