From 3165fd3e302ff7f02adc774bfe627a5486214c15 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sun, 2 Dec 2001 01:26:45 +0000 Subject: [PATCH] Correct case comparison typematch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92279 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) */ -- 2.40.0