summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-04-13 18:00:45 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-04-13 18:00:45 +0000
commit14ab6cdd69341aef005891ab2aa4aec8760c2eea (patch)
tree9f17c49abe39619d42fa27ee79fd040ec0bd6742 /crypto/pkcs7
parenteeec060df0e26890d5e84cf5ee5bef46fd22a424 (diff)
Flush b64 BIO.
Diffstat (limited to 'crypto/pkcs7')
-rw-r--r--crypto/pkcs7/pk7_mime.c1
1 files changed, 1 insertions, 0 deletions
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;