projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0e79d7
)
Constify crypto/cast.
author
Bodo Möller
<bodo@openssl.org>
Tue, 22 Dec 2009 11:45:57 +0000
(11:45 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Tue, 22 Dec 2009 11:45:57 +0000
(11:45 +0000)
crypto/cast/c_enc.c
patch
|
blob
|
history
diff --git
a/crypto/cast/c_enc.c
b/crypto/cast/c_enc.c
index 433b5f11b838f322f5de55486fefc4a0e8c5aa6b..357c41ebf08a7864525393bf630d2d0ed49598d3 100644
(file)
--- 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];