Bill Rebey wrote:
>
>
> ***NOTE: For everyone else out there who isn't familiar with this call, it
> is...um...pretty important. The full extent of the code that I added that
> corrects this problem is:
>
> //------------------
> extern "C" unsigned long pthreads_thread_id ()
> {
> return (pthread_self ());
> }
> ...
> ...in main (), at initialization time...
> ...
> CRYPTO_set_id_callback(pthreads_thread_id);
> //-------------------
>
Well it isn't required on all platforms. Like many things it is all
documented ... somewhere. In this particular case in the old 'obsolete'
stuff in doc/ssleay.txt the 'threads' manual page and probably a few
other places too.
Sorry I couldn't look into this myself but I don't have easy access to
Solaris, I'm not familiar with it and I tend to run and hide when I see
anything that looks like C++ :-)
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]