aboutsummaryrefslogtreecommitdiff
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-02-09 09:13:45 +0000
committerMatt Caswell <matt@openssl.org>2016-02-09 15:11:38 +0000
commit71567a6f418ed1dc42d4c5ec57f72d3119b75966 (patch)
tree711f27361058f6547b849988dacdcf85d5bc2d69 /crypto/cryptlib.c
parent8793f012f11416abd300aa524057c863e8c16dd5 (diff)
downloadopenssl-71567a6f418ed1dc42d4c5ec57f72d3119b75966.zip
openssl-71567a6f418ed1dc42d4c5ec57f72d3119b75966.tar.gz
openssl-71567a6f418ed1dc42d4c5ec57f72d3119b75966.tar.bz2
Provide a thread stop API
Add the OPENSSL_INIT_thread_stop() function. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 138708b..b530818 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -234,8 +234,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
- ossl_init_thread_stop(
- (struct thread_local_inits_st *)ossl_init_get_thread_local(0));
+ OPENSSL_INIT_thread_stop();
break;
case DLL_PROCESS_DETACH:
break;