Return EOF when an S/MIME part have been read.
This commit is contained in:
parent
27346c53b1
commit
00dc2d7551
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue