wrong statistic (read instead of write) is updated when calling BIO_nwrite().

The fix:

--- \\Debbie\ger\prj\1original\openssl\openssl\crypto\bio\bss_bio.c     
2003-08-06
11:36:25.000000000 +-0100
+++ \\Debbie\ger\prj\3actual\openssl\crypto\bio\bss_bio.c       2008-12-24
22:35:22.000000000 +-0100
@@ -920,5 +928,5 @@
        ret = BIO_ctrl(bio, BIO_C_NWRITE, num, buf);
        if (ret > 0)
-               bio->num_read += ret;
+               bio->num_write += ret;
        return ret;
        }


-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to