summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2016-10-28 11:53:00 -0500
committerRichard Levitte <levitte@openssl.org>2016-10-29 00:56:52 +0200
commit4e3973b457d42172711e2c556362826b02c44169 (patch)
tree9c8d8df7c4f5f1fab84fc3046c3052af19df0190 /include
parentb509b6d787354141e776344782e46ab4c49cb6e9 (diff)
Try to unify BIO read/write parameter names
After the recent reworking, not everything matched up, and some comments didn't catch up to the outl-->dlen and inl-->dlen renames that happened during the development of the recent patches. Try to make parameter names consistent across header, implementation, and manual pages. Also remove some trailing whitespace that was inadvertently introduced. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1798)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/bio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index 4b807191ef..2fb9023eac 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -552,7 +552,7 @@ int BIO_get_shutdown(BIO *a);
void BIO_vfree(BIO *a);
int BIO_up_ref(BIO *a);
int BIO_read(BIO *b, void *data, int dlen);
-int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *read);
+int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
int BIO_gets(BIO *bp, char *buf, int size);
int BIO_write(BIO *b, const void *data, int dlen);
int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);