summaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2008-08-13 19:30:01 +0000
committerBodo Möller <bodo@openssl.org>2008-08-13 19:30:01 +0000
commit2ecd2ededece66bf090fefc93ef3ddb672d9e71a (patch)
tree14d8b0aac9dbe14683b398f69c876ff6dc5773ab /CHANGES
parent9d84d4ed5e13713c060c5fd538e2c15242aa9b9f (diff)
Mention ERR_remove_state() deprecation, and ERR_remove_thread_state(NULL).
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES6
1 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 89dc2bada1..966a90021c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,7 +11,6 @@
This work was sponsored by Google.
[Steve Henson]
-
*) Add support for policy mappings extension.
@@ -43,6 +42,11 @@
CRYPTO_THREADID_set_callback() to register a callback that will call
either CRYPTO_THREADID_set_numeric() or CRYPTO_THREADID_set_pointer().
+ Note that ERR_remove_state() is now deprecated, because it is tied
+ to the assumption that thread IDs are numeric. ERR_remove_state(0)
+ to free the current thread's error state should be replaced by
+ ERR_remove_thread_state(NULL).
+
(This new approach replaces the functions CRYPTO_set_idptr_callback(),
CRYPTO_get_idptr_callback(), and CRYPTO_thread_idptr() that existed in
OpenSSL 0.9.9-dev between June 2006 and August 2008. Also, if an