I had this same problem using MS VC++. With this compiler you must compile with Multithread DLL. I don't know how Borland builds its runtime libraries.
Look under the FAQ at the OpenSSL site for more info. ----- Original Message ----- From: "Jasper Spit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 1:07 PM Subject: write_PrivateKey (encrypted) access violation > Hi, > > I have a problem running my code on win32 (on linux it runs fine). > On win32 I get an access violation on the PEM_write_PrivateKey call, but > <only> when I use a cipher to encrypt the private key on disk, without > encryption it works fine. > > I've tried using PEM_write_bio_PrivateKey, that doesn't work either. > I've tried precompiled libs, I've tried my own compiled libs, without > any special compilation flags. Any ideas ? > > Using 0.9.6g & Borland C++ Builder 6. > > Thx, Jasper > > ______________________________________________________________________ > 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]