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 1fc8c6a..c9ea66e 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 7912b88..afa9cd2 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;