> You are absolutely right, of course. I got similar constructs right > in the past, but I guess this time I was too busy with various other > things to really think about what I was writing ... > > The next snapshot should really fix the problem.
I looked at the changes in CVS and everything seems to be correct now. Thanks for fixing this so quickly. I was looking at some other code in the ssl directory, and the *_method functions in the *_meth.c files appear to use the same initialization idiom. I believe they need to be thread-protected also. I grepped for "if (init)", and it now appears twice in all files except for *_meth.c and ssl_err.c. I don't believe ssl_err needs to be threadsafe since there's a thread safety page (somewhere, openssl.org is real slow right now) that explicitly says to run the SSL_load_error_strings() before using openssl on multiple threads. patrick ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
