diff options
Diffstat (limited to 'pith/smime.c')
-rw-r--r-- | pith/smime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/smime.c b/pith/smime.c index a2a6a112..795be7f1 100644 --- a/pith/smime.c +++ b/pith/smime.c @@ -2493,9 +2493,9 @@ body_to_bio(BODY *body) signatures. Fix contributed by Bernd Edlinger. */ BIO_get_mem_ptr(bio, &biobuf); - BIO_set_close(bio, 0); + BIO_set_close(bio, BIO_NOCLOSE); BUF_MEM_grow(biobuf, len-2); /* remove CRLF */ - BIO_set_mem_buf(bio, biobuf, 1); + BIO_set_mem_buf(bio, biobuf, BIO_CLOSE); } return bio; |