From: William A. Rowe Jr Date: Sun, 2 Dec 2001 01:26:45 +0000 (+0000) Subject: Correct case comparison typematch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39752e6e887959d449351bd65fe3a93a38807e9;p=thirdparty%2Fapache%2Fhttpd.git Correct case comparison typematch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@92279 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index ad2f05271da..830541b0f93 100644 --- a/ssl_engine_io.c +++ b/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) */