> I just wanted to verify that, as of OpenSSL 0.9.8a, any OpenSSL data
> facility that utilizes "STACK_OF" as a container for different types
> of objects, the routines that reference these "stacks" do not support
> multiple threads accessing the same "stack". Is this the case? I
> didn't see any mutex/user callback support in stack.c.
I believe OpenSSL's stacks work just like pretty much everything. The
results are undefined if you modify an object in one thread while another
thread is or might be using it. However, you can read an object in any
number of threads at the same time. If you write code where it's possible
for a stack to be modified in one thread while another thread might be using
that same stack, you will need to use some kind of synchronization.
DS
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]