Remove the dual-callback scheme for numeric and pointer thread IDs,
authorGeoff Thorpe <geoff@openssl.org>
Wed, 6 Aug 2008 15:54:15 +0000 (15:54 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Wed, 6 Aug 2008 15:54:15 +0000 (15:54 +0000)
commit4c3296960de32e5abfbb8f4703a2ce624d82669f
treef603740bcbf0e3cde6008cead9586e5b4edbdc5b
parent96826bfc84c63207b720543443626029946a0fc7
Remove the dual-callback scheme for numeric and pointer thread IDs,
deprecate the original (numeric-only) scheme, and replace with the
CRYPTO_THREADID object. This hides the platform-specifics and should reduce
the possibility for programming errors (where failing to explicitly check
both thread ID forms could create subtle, platform-specific bugs).

Thanks to Bodo, for invaluable review and feedback.
25 files changed:
CHANGES
FAQ
apps/apps.h
crypto/bn/bn.h
crypto/bn/bn_blind.c
crypto/bn/exptest.c
crypto/cryptlib.c
crypto/crypto.h
crypto/dsa/dsatest.c
crypto/ec/ectest.c
crypto/ecdh/ecdhtest.c
crypto/ecdsa/ecdsatest.c
crypto/engine/enginetest.c
crypto/err/err.c
crypto/err/err.h
crypto/err/err_prn.c
crypto/evp/evp_test.c
crypto/mem_dbg.c
crypto/rand/md_rand.c
crypto/rsa/rsa_eay.c
crypto/rsa/rsa_lib.c
crypto/rsa/rsa_test.c
doc/crypto/BN_BLINDING_new.pod
doc/crypto/threads.pod
ssl/ssltest.c