From b5e406f755443900d545b31da359d70448015288 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Mon, 4 Jan 1999 19:55:12 +0000 Subject: [PATCH] Pass on BIO_CTRL_FLUSH. Submitted by: Arne Ansper --- CHANGES | 3 +++ crypto/bio/bf_buff.c | 1 + 2 files changed, 4 insertions(+) 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; -- GitLab