diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-13 17:51:35 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-13 17:51:35 +0000 |
commit | 608217d8d0b0fd07e28e7a1e687ec19f550edb7f (patch) | |
tree | 77749a0fa76773f7014d144425f1d0a8c6d8f1ea /crypto/cast/c_cfb64.c | |
parent | 2adca9cdc6de004e5cb27437cb80841d1298e02d (diff) |
Don't use reserved name "_encrypt" for parameters;
instead I've picked "enc", because that's what's in the prototypes.
("_encrypt" is reserved only as an external name, but still
using it in an application doesn't look like good style to me --
and it certainly isn't if the point is just avoiding shadowing,
which is apparently why the previous name "encrypt" was changed.)
Diffstat (limited to 'crypto/cast/c_cfb64.c')
-rw-r--r-- | crypto/cast/c_cfb64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cast/c_cfb64.c b/crypto/cast/c_cfb64.c index 095e05a563..514c005c32 100644 --- a/crypto/cast/c_cfb64.c +++ b/crypto/cast/c_cfb64.c @@ -66,7 +66,7 @@ void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, CAST_KEY *schedule, unsigned char *ivec, - int *num, int _encrypt) + int *num, int enc) { register CAST_LONG v0,v1,t; register int n= *num; @@ -75,7 +75,7 @@ void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, unsigned char *iv,c,cc; iv=ivec; - if (_encrypt) + if (enc) { while (l--) { |