Type: REQ
OS: WinNT
Version: 0.97c

Brief: A text mode FILE* will result in a binary BIO with BIO_set_fp.

Descr: This seems to make sense since BIO_set_fp also takes in text mode
flags along with the FILE*, but on the PEM_write_xx FILE* fns, there is no
way to set the text flag when passing in the FILE*. This has led to garbage
(bad newlines) certificates being generated under Win2K with a custom
certificate generation utility implemented with OpenSSL.

If the generated certs aren't used by a program that tries UNIX and MSDOS
newlines, this basically forces the developer to use the BIO routines
instead, making the write routines with FILE* useless.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to