From: Bodo Möller Date: Tue, 22 Dec 2009 11:45:59 +0000 (+0000) Subject: Constify crypto/cast. X-Git-Tag: OpenSSL_1_0_0-beta5~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=40c45f86d4cd38a7c0150fa42fd2a2b445880f6c;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];