Hi!

I have a library using openssl 0.9.8 that is accessed by several threads.

One function verifies a certificate, and in that function I call X509_verify_cert().

In a few occations the function returns 0, and the failure occures in the file "rsa_pk1.c" on line number 100. I tried to do a mutex around the X509_verify_cert call and never experienced the error. Now I believe I have set up threading properly with CRYPTO_num_locks() number of mutexes with a proper locking callback with CRYPTO_set_locking_callback().

I use *a* lot of openssl in my library and have tested it extensively for threading issues.
This problem is the only threading issue I can se at the moment.

Any ideas what I do wrong?

Best regards
Steffen Fiksdal
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to