From: William A. Rowe Jr Date: Sun, 2 Dec 2001 01:26:45 +0000 (+0000) Subject: Correct case comparison typematch X-Git-Tag: 2.0.30~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3165fd3e302ff7f02adc774bfe627a5486214c15;p=apache Correct case comparison typematch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92279 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index ad2f05271d..830541b0f9 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -171,7 +171,7 @@ static int bio_bucket_write(BIO *bio, const char *in, int inl) */ BIO_clear_retry_flags(bio); - if (!b->length && (inl < (sizeof(b->buffer) - b->blen))) { + if (!b->length && (inl + b->blen < sizeof(b->buffer))) { /* the first two SSL_writes (of 1024 and 261 bytes) * need to be in the same packet (vec[0].iov_base) */