Re: When to use CRYPTO_set_locking_callback() and CRYPTO_set_id_callback()?

2006-08-17 Thread Joe Flowers
Joe Flowers wrote: In any case, does it hurt anything if I try to implement these two OpenSSL functions anyway? And, if it's quick and easy to do, can someone sent code snippets of implementations of these two functions? In my parent thread, should I just call the following two OpenSSL fu

Re: When to use CRYPTO_set_locking_callback() and CRYPTO_set_id_callback()?

2006-08-17 Thread Marek Marcola
Hello, > In any case, does it hurt anything if I try to implement these two > OpenSSL functions anyway? I think that no. > And, if it's quick and easy to do, can someone sent code snippets of > implementations of these two functions? You may use something like that:

When to use CRYPTO_set_locking_callback() and CRYPTO_set_id_callback()?

2006-08-17 Thread Joe Flowers
Help please. I have a program/parent thread that launches 4 child threads. It's a Win32 application that has to be linked using the /MT VC compiler option for reasons other than OpenSSL. The parent thread calls the following OpenSSL calls. CRYPTO_malloc_init(); SSL_library_init(); SSL_load_e