From: Ben Laurie Date: Mon, 4 Jan 1999 19:55:12 +0000 (+0000) Subject: Pass on BIO_CTRL_FLUSH. X-Git-Tag: OpenSSL_0_9_2b~279 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=b5e406f755443900d545b31da359d70448015288;hp=888007108bc3cd1011d145470f6295743f4909d6 Pass on BIO_CTRL_FLUSH. Submitted by: Arne Ansper --- diff --git a/CHANGES b/CHANGES index 1fc8c6af43..c9ea66ee74 100644 --- 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 ] + *) 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. diff --git a/crypto/bio/bf_buff.c b/crypto/bio/bf_buff.c index 7912b88473..afa9cd27b7 100644 --- a/crypto/bio/bf_buff.c +++ b/crypto/bio/bf_buff.c @@ -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;