On Mon, Jul 21, 2003, Andrew Marlow wrote: > Guys, > > I am using openssl-0.9.7b on Windoze with the Visual Studio v6 compiler > and have found a strange problem. Maybe someone has some idea what is > going wrong. It looks like my program gets some sort of corruption on > returning from SSL_write coz VS says that a C++ exception has been thrown. > Clearly this is impossible so I figure some sort of corruption has > occurred. The thing I am doing that is probably different to most users of > openSSL is that I am using on-the-fly ZLIB compression. If I turn off the > compression then the problem disappears. > > Has anyone else tried using ZLIB compression with openSSL? I think there > may be some strange sort of interaction between the two dynamic libraries > on Windoze. I get no problem on Solaris. >
Only thing I can immediately think of is that ZLIB might not be compiled to use the same multithreaded DLL runtime library. The infamous /MD issue. Steve. -- Dr Stephen N. Henson. Core developer of the OpenSSL project: http://www.openssl.org/ Freelance consultant see: http://www.drh-consultancy.demon.co.uk/ Email: [EMAIL PROTECTED], PGP key: via homepage. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]