[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Fri Dec 2 09:17:21 UTC 2016


The branch master has been updated
       via  82cb311fa0e1096bc6840fd92973d9b418ff5dde (commit)
      from  bcd62c2512dd031cc524d058494aadebaaf1fc4c (commit)


- Log -----------------------------------------------------------------
commit 82cb311fa0e1096bc6840fd92973d9b418ff5dde
Author: Matt Caswell <matt at openssl.org>
Date:   Thu Dec 1 13:24:09 2016 +0000

    Fix a typo in bio_read_intern
    
    Reviewed-by: Stephen Henson <steve at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/bio/bio_lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c
index 4c2af7d7..67acac3 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,


More information about the openssl-commits mailing list