From: Dr. Stephen Henson Date: Tue, 24 Jun 2003 17:11:44 +0000 (+0000) Subject: Return EOF when an S/MIME part have been read. X-Git-Tag: BEN_FIPS_TEST_1~38^2~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=037f6e73f17c1b322d49fc23bd2934b969ffdf79;p=oweals%2Fopenssl.git Return EOF when an S/MIME part have been read. --- diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index 0480db219f..1823418465 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -446,6 +446,7 @@ static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret) first = 0; if(bpart) sk_BIO_push(parts, bpart); bpart = BIO_new(BIO_s_mem()); + BIO_set_mem_eof_return(bpart, 0); } else if (eol) BIO_write(bpart, "\r\n", 2); eol = next_eol;