Flush b64 BIO.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 13 Apr 2007 18:00:45 +0000 (18:00 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 13 Apr 2007 18:00:45 +0000 (18:00 +0000)
crypto/pkcs7/pk7_mime.c

index ae556d0aa8f045b15a49ddb085868e25bd5450c6..e01e936679a7dbec6170bc647bededef670762bb 100644 (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;