diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-26 00:05:25 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-10-28 09:48:54 +0100 |
commit | d62bf89cbba8df21c317fbf3fbefadeb0ca5a7f4 (patch) | |
tree | d1ee2f3cd3d745d6a2297955b30b4d106fc01808 /crypto/bio/bio_meth.c | |
parent | 7bf79e33c94545eb3d67f142ce2dcc974c4dc79b (diff) |
Fix more shadowed variable warnings
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/bio_meth.c')
-rw-r--r-- | crypto/bio/bio_meth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bio/bio_meth.c b/crypto/bio/bio_meth.c index 5eaa1fd461..588c5170f7 100644 --- a/crypto/bio/bio_meth.c +++ b/crypto/bio/bio_meth.c @@ -107,7 +107,7 @@ int (*BIO_meth_get_read_ex(BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *) } /* Conversion for old style bread to new style */ -int bread_conv(BIO *bio, char *data, size_t datal, size_t *read) +int bread_conv(BIO *bio, char *data, size_t datal, size_t *readbytes) { int ret; @@ -117,11 +117,11 @@ int bread_conv(BIO *bio, char *data, size_t datal, size_t *read) ret = bio->method->bread_old(bio, data, (int)datal); if (ret <= 0) { - *read = 0; + *readbytes = 0; return ret; } - *read = (size_t)ret; + *readbytes = (size_t)ret; return 1; } |