diff options
author | Matt Caswell <matt@openssl.org> | 2016-12-01 14:24:09 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-12-02 10:15:19 +0100 |
commit | 82cb311fa0e1096bc6840fd92973d9b418ff5dde (patch) | |
tree | 89fa34d6fb46265198982c63edfc65223e4388e8 /crypto/bio | |
parent | Make refdata in tls13encryptest static (diff) | |
download | openssl-82cb311fa0e1096bc6840fd92973d9b418ff5dde.tar.xz openssl-82cb311fa0e1096bc6840fd92973d9b418ff5dde.zip |
Fix a typo in bio_read_intern
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bio_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c index 4c2af7d746..67acac3d28 100644 --- a/crypto/bio/bio_lib.c +++ b/crypto/bio/bio_lib.c @@ -269,7 +269,7 @@ static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) ret = b->method->bread(b, data, dlen, readbytes); if (ret > 0) - b->num_read += (uint64_t)*read; + b->num_read += (uint64_t)*readbytes; if (b->callback != NULL || b->callback_ex != NULL) ret = (int)bio_call_callback(b, BIO_CB_READ | BIO_CB_RETURN, data, |