diff options
Diffstat (limited to 'crypto/bio/bio_meth.c')
-rw-r--r-- | crypto/bio/bio_meth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bio_meth.c b/crypto/bio/bio_meth.c index daffc541a3..ea3155f3fa 100644 --- 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); |