Pass on BIO_CTRL_FLUSH.
authorBen Laurie <ben@openssl.org>
Mon, 4 Jan 1999 19:55:12 +0000 (19:55 +0000)
committerBen Laurie <ben@openssl.org>
Mon, 4 Jan 1999 19:55:12 +0000 (19:55 +0000)
Submitted by: Arne Ansper <arne@ats.cyber.ee>

CHANGES
crypto/bio/bf_buff.c

diff --git a/CHANGES b/CHANGES
index 1fc8c6af43ed1d4513a2af52d2e4384c270e3095..c9ea66ee74904f8e59b6e3d2a495d1faf6892e19 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@
 
  Changes between 0.9.1c and 0.9.2
 
+  *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
+     [Arne Ansper <arne@ats.cyber.ee>]
+
   *) Make sure the already existing X509_STORE->depth variable is initialized
      in X509_STORE_new(), but document the fact that this variable is still
      unused in the certificate verification process.
index 7912b88473c86830506b52fda46bf5659089173f..afa9cd27b74cd4af01009a9b77e1904726d3c41c 100644 (file)
@@ -432,6 +432,7 @@ fprintf(stderr,"FLUSH [%3d] %3d -> %3d\n",ctx->obuf_off,ctx->obuf_len-ctx->obuf_
                                break;
                                }
                        }
+               ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
                break;
        case BIO_CTRL_DUP:
                dbio=(BIO *)ptr;