Post by Dr. Stephen HensonPost by Christian HohnstaedtSame here on a WIN98 box,
seems like all PEM_write_XXX functions do segfault.
OpenSSL was compiled with the VC++ .dsp files provided
by http://www.iconsinc.com/~agray/ossldev/
the same code runs without errors on linux
Read the FAQ.
For me it's any of the *_fp() functions which crash - something like
PEM_write_bio_PrivateKey() or PEM_read_bio_X509() work fine. And it's
all of the functions which use a FILE* argument instead of a BIO* which
crash on me.
Since I already knew it wasn't the single threaded vs. multi-threaded
problem mentioned in the FAQ, I wondered briefly if it was related to
OPENSSL_NO_FP_API (I had seen that in the headers while lookign for
otehr things), but since my program linked properly with nothing left
unfound I decided it couldn't be that.
This wasn't a big problem for me since I had no overwhelming reason to
have to use a FILE* instead of a BIO* - all I was doing was opening the
file, reading in/writing out the certificate/key and immediately
closing the file.
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org