From 00dc2d75511517a43221e7da55d8e594fe925262 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 24 Jun 2003 17:12:22 +0000 Subject: [PATCH] Return EOF when an S/MIME part have been read. --- crypto/pkcs7/pk7_mime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index 1eaab7cbde..5d2a97839d 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -403,6 +403,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; -- 2.25.1