From 14ab6cdd69341aef005891ab2aa4aec8760c2eea Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 13 Apr 2007 18:00:45 +0000 Subject: [PATCH] Flush b64 BIO. --- crypto/pkcs7/pk7_mime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index ae556d0aa8..e01e936679 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -158,6 +158,7 @@ static int B64_write_PKCS7(BIO *out, PKCS7 *p7, BIO *in, int flags) */ out = BIO_push(b64, out); r = i2d_PKCS7_bio_stream(out, p7, in, flags); + BIO_flush(out); BIO_pop(out); BIO_free(b64); return r; -- 2.25.1