Flush b64 BIO.

This commit is contained in:
Dr. Stephen Henson 2007-04-13 18:00:45 +00:00
parent eeec060df0
commit 14ab6cdd69

View File

@ -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;