diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-06-24 17:12:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-06-24 17:12:22 +0000 |
commit | 00dc2d75511517a43221e7da55d8e594fe925262 (patch) | |
tree | e628197e9d6dc1259b6a41ceca0d2e97d6d11d2e /crypto/pkcs7 | |
parent | 27346c53b1b4691134d9dd8bb8ffe85e48dd2db6 (diff) |
Return EOF when an S/MIME part have been read.
Diffstat (limited to 'crypto/pkcs7')
-rw-r--r-- | crypto/pkcs7/pk7_mime.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |