Re: PEM_read_X509 and d2i_X509_fp problem.

2005-05-10 Thread Calista
Yes, I have set up the call-backs exactly as in crypto\threads\mttest.c The problem seems to be going away when the replace the fseek with fclose and fopen the file again. Does this sound weird? (considering that all threads may be executing this code simultaneously). if(!(x509=d2i_X509_fp(fp, N

Re: PEM_read_X509 and d2i_X509_fp problem.

2005-05-06 Thread Joseph Bruni
Did you set up your mutex call-backs needed by the library? See the man page for CRYPTO_set_locking_callback, et al for details. -joe On May 6, 2005, at 8:56 AM, Calista wrote: Are the functions d2i_X509_fp and PEM_read_X509 thread safe? smime.p7s Description: S/MIME cryptographic signature

Re: PEM_read_X509 Crashes on openssl-0.9.7e

2004-11-22 Thread Dr. Stephen Henson
On Mon, Nov 22, 2004, Aftab Alam wrote: > Hi All, > > > > OS: WinXP SP1 > > Tool: VC 6.0 > > Active Perl 5.8 > > > > I created a test application with the openssl-0.9.7e, with the binaries > downloaded from Shining Light and tried to parse the subject name of > certificate, it worked fin

Re: PEM_read_X509

2001-08-29 Thread Zulkiffli Mohd Nur
hi. i am new in this industry. now i am in project. can anybody help me, how to read the pem format file (like certificate).  i also try to using PEM_read_X509 but still have error. can anybody give any advise or example coding using Borland C++.Thank you.