diff options
author | Geoff Thorpe <geoff@openssl.org> | 2008-08-06 17:54:15 +0200 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2008-08-06 17:54:15 +0200 |
commit | 4c3296960de32e5abfbb8f4703a2ce624d82669f (patch) | |
tree | f603740bcbf0e3cde6008cead9586e5b4edbdc5b /crypto/ec/ectest.c | |
parent | sha1-armv4-large cosmetics. (diff) | |
download | openssl-4c3296960de32e5abfbb8f4703a2ce624d82669f.tar.xz openssl-4c3296960de32e5abfbb8f4703a2ce624d82669f.zip |
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.
Diffstat (limited to 'crypto/ec/ectest.c')
-rw-r--r-- | crypto/ec/ectest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c index b74d6435be..7509cb9c7c 100644 --- a/crypto/ec/ectest.c +++ b/crypto/ec/ectest.c @@ -1326,7 +1326,7 @@ int main(int argc, char *argv[]) #endif CRYPTO_cleanup_all_ex_data(); ERR_free_strings(); - ERR_remove_state(0); + ERR_remove_thread_state(NULL); CRYPTO_mem_leaks_fp(stderr); return 0; |