]> granicus.if.org Git - apache/commitdiff
Correct case comparison typematch
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 2 Dec 2001 01:26:45 +0000 (01:26 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 2 Dec 2001 01:26:45 +0000 (01:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92279 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index ad2f05271da05b790373c93cabc43899ac90c7b1..830541b0f9390adb4a0cacc0b5740eaf48b5df0c 100644 (file)
@@ -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)
          */