This is verry old problem, but simple to solve (i guess).
The patch for base64 BIO was submitted by Kai - Min - Sung 5 year ago.
(http://marc.info/?l=openssl-dev&m=109079428007105&w=2).
Using that patch, we only need to propagate flags given as argument to
SMIME_write_PKCS7 into B64_write_PKCS7
and set appropriate BIO flag:
if (flags & PKCS7_CRLFEOL)
BIO_set_flags(b64,BIO_FLAGS_BASE64_CRLF);
Best Regards
Josef
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]