projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
667fbc0
)
In BIO_write(), update the write statistics, not the read statistics.
author
Richard Levitte
<levitte@openssl.org>
Thu, 25 Dec 2008 22:24:21 +0000
(22:24 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 25 Dec 2008 22:24:21 +0000
(22:24 +0000)
PR: 1803
crypto/bio/bss_bio.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_bio.c
b/crypto/bio/bss_bio.c
index 0f9f0955b41187f99a1bd8abcc46480c005139d9..76bd48e7679b22f6492265b84e4b61acacad75fa 100644
(file)
--- a/
crypto/bio/bss_bio.c
+++ b/
crypto/bio/bss_bio.c
@@
-919,6
+919,6
@@
int BIO_nwrite(BIO *bio, char **buf, int num)
ret = BIO_ctrl(bio, BIO_C_NWRITE, num, buf);
if (ret > 0)
- bio->num_
read
+= ret;
+ bio->num_
write
+= ret;
return ret;
}