Return EOF when an S/MIME part have been read.

This commit is contained in:
Dr. Stephen Henson 2003-06-24 17:11:44 +00:00
parent cf82439de8
commit 037f6e73f1

View File

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