Fix indefinite length encoding so EOC correctly updates
[openssl.git] / crypto / pkcs7 / pk7_mime.c
index 51be7776876fbc5bb1fe926a64c692ad4a7ab7a3..431aff94f0b0173870bab38ccb5fce6ac88b350e 100644 (file)
@@ -202,7 +202,7 @@ static int pkcs7_output_data(BIO *out, BIO *data, PKCS7 *p7, int flags)
        {
        BIO *tmpbio, *p7bio;
 
-       if (!(flags & PKCS7_PARTSIGN))
+       if (!(flags & PKCS7_STREAM))
                {
                SMIME_crlf_copy(data, out, flags);
                return 1;