mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix a typo in bio_read_intern
Reviewed-by: Stephen Henson <steve@openssl.org>
This commit is contained in:
parent
bcd62c2512
commit
82cb311fa0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user