On Mon, Jul 23, 2001 at 11:20:17AM +0200, Lutz Jaenicke wrote:
> On Sun, Jul 22, 2001 at 05:57:21AM +0000, a y wrote:
> HMTL-gibberish...
>
> This indicates that there is a "b" missing in an `fopen("...","w")' that
> should read `fopen("...","wb")', such that a "LF" is transformed to "CR/LF".
> I suppose you are running OpenSSL on a Windows platform. Before I start
> tracing through it: are you already using the latest version and/or
> can this problem be reproduced with it?
Hmm, I have just seen that the version number (0.9.6b) is in the subject.
Following the code in openssl/crypto/bio/bss_file.c:
...
case BIO_C_SET_FILENAME:
...
#if defined(MSDOS) || defined(WINDOWS)
if (!(num & BIO_FP_TEXT))
strcat(p,"b");
else
strcat(p,"t");
#endif
...
The input/output files of base64 are opened without any flag and with the
correct flags ("b"), when MSDOS or WINDOWS is defined.
I therefore have to assume, that your problem is related to your platform
and/or specific installation.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]