[openssl-dev] A Question about CRYPTO_THREADID when upgrading to OpenSSL 1.0.1e
Florian Weimer
fweimer at redhat.com
Thu Jun 11 08:34:52 UTC 2015
On 01/14/2014 07:12 AM, Aaron wrote:
> Hi All,
>
> We have upgraded our OpenSSL from 9.0.8b to OpenSSL 1.0.1e. We have
> encountered some thread issues. From releated OpenSSL document
> (http://www.openssl.org/docs/crypto/threads.html), we see the following
> description.
>
> /CRYPTO_THREADID and associated functions were introduced in OpenSSL 1.0.0
> to replace (actually, deprecate) the previous CRYPTO_set_id_callback(),
> CRYPTO_get_id_callback(), and CRYPTO_thread_id() functions which assumed
> thread IDs to always be represented by 'unsigned long'. /
>
> We haven't change all calls to CRYPTO_set_id_callback(),
> CRYPTO_get_id_callback(), and CRYPTO_thread_id() in our code to
> CRYPTO_THREADID routines.
>
> The question I would like to ask is if we upgrade OpenSSL from 9.0.8b to
> OpenSSL 1.0.1e without making the above suggested change what the
> sebsequence is? Will this cause race conditions?
Which platform are you on?
--
Florian Weimer / Red Hat Product Security
More information about the openssl-dev
mailing list