The problem is that you have compiled your application and the OpenSSL library using different MS C runtime libraries. There are few possible options on Windows (single threaded, single threaded debug, multi threaded, multi threaded debug) and you MUST use the same libraries for both OpenSSL library and your application. Otherwise, you'll have crash on the first OpenSSL IO call.
Aleksey. Peter Aben wrote: > Because I have to use certificates in the PKCS#12 format, I use the > function d2i_PKCS12_fp() in my application. > On UNIX, this works fine. On Windows NT4 (SP6a) the function crashes. > I am using OpenSSL 0.9.6c at the moment. > I have read about a similar problem in this mailing list, and there is > an advise to look at the FAQ. Unfortunately, the FAQ list on the > openssl.org site is not accessible :( > I would appreciate it very much if someone could give me an answer on > this. Is there a fix, or should I try a more recent release of OpenSSL? > > Thank you in advance! > Peter Aben. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]