Not that I know of.

Hm, you may want to edit the sample code where it opens the stdout BIO
(look for BIO_new_fp(stdout, BIO_NOCLOSE)) and add the BIO_FP_TEXT
flag there to make it spit out CRLF line ends on msdos/win, then
recompile.

i.e.:
var = BIO_new_fp(stdout, BIO_NOCLOSE);
-->
var = BIO_new_fp(stdout, BIO_NOCLOSE|BIO_FP_TEXT);

Caveat: when you write binary format files to such a BIO, they will be
damaged as every byte 0x0A (LF) will be converted to the sequence 0x0D
0x0A (CR LF): the code has no way of knowing what sort of data you are
feeding it. If you don't want that risk, you should add a little extra
code (adding a commandline option) to selectively add that BIO_FP_TEXT
flag there.

HTH

Ger



On Wed, Jul 30, 2008 at 1:04 AM, Hinshaw, Chris
<[EMAIL PROTECTED]> wrote:
> This is a completely stupid question, but is there a command line option
> from openssl to add use CRLF instead of just CR.  Running unix2dos after the
> file is made is not an easy option in Windows…unfortunately.
>
> Chris Hinshaw
>
> Avocent – Redmond Engineering
>
> [EMAIL PROTECTED]
>
>



-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
 http://www.hebbut.net/
mail: [EMAIL PROTECTED]
mobile: +31-6-11 120 978
--------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to