diff options
author | Ben Laurie <ben@openssl.org> | 1999-05-13 17:10:42 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-05-13 17:10:42 +0000 |
commit | 90ba7e21e1e04ba833c807bcb3dc2bdc5136a6b5 (patch) | |
tree | ef2bc7e23be9f0d0efdd7bf9c4531696bede3b00 /crypto/cast/c_ecb.c | |
parent | 224551f73222609952dcc0f21a6b007009c23d60 (diff) | |
download | openssl-90ba7e21e1e04ba833c807bcb3dc2bdc5136a6b5.tar.gz |
Avoid shadowing, and a bit of constification while I'm at it.
Diffstat (limited to 'crypto/cast/c_ecb.c')
-rw-r--r-- | crypto/cast/c_ecb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c index 4b523ffc75..e237ebcac4 100644 --- a/crypto/cast/c_ecb.c +++ b/crypto/cast/c_ecb.c @@ -62,14 +62,14 @@ char *CAST_version="CAST" OPENSSL_VERSION_PTEXT; -void CAST_ecb_encrypt(unsigned char *in, unsigned char *out, CAST_KEY *ks, - int encrypt) +void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, + CAST_KEY *ks, int _encrypt) { CAST_LONG l,d[2]; n2l(in,l); d[0]=l; n2l(in,l); d[1]=l; - if (encrypt) + if (_encrypt) CAST_encrypt(d,ks); else CAST_decrypt(d,ks); |