projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tweaks based on review feedback of BIO size_t work
[openssl.git]
/
crypto
/
bio
/
bio_meth.c
diff --git
a/crypto/bio/bio_meth.c
b/crypto/bio/bio_meth.c
index daffc541a311fd2f8f9022a929abc7508c6e2c0c..ea3155f3fadcfda8a81048ba522844cb98faff0e 100644
(file)
--- a/
crypto/bio/bio_meth.c
+++ b/
crypto/bio/bio_meth.c
@@
-66,7
+66,7
@@
int bwrite_conv(BIO *bio, const char *in, size_t inl, size_t *written)
int ret;
if (inl > INT_MAX)
-
return 0
;
+
inl = INT_MAX
;
ret = bio->method->bwrite_old(bio, in, (int)inl);