Skip to content
Snippets Groups Projects
Commit 663b9ff6 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-476: pthread_self() also needs CRYPTO_THREADID_set_pointer()

parent e9c667af
No related branches found
No related tags found
No related merge requests found
...@@ -645,7 +645,7 @@ void ssl_thread_id_callback(CRYPTO_THREADID* pthreadid) ...@@ -645,7 +645,7 @@ void ssl_thread_id_callback(CRYPTO_THREADID* pthreadid)
#if defined(WIN32) #if defined(WIN32)
CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread()); CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread());
#else #else
CRYPTO_THREADID_set_numeric(pthreadid, pthread_self()); CRYPTO_THREADID_set_pointer(pthreadid, pthread_self());
#endif #endif
} }
......
...@@ -118,7 +118,7 @@ void ssl_thread_id_callback(CRYPTO_THREADID* pthreadid) ...@@ -118,7 +118,7 @@ void ssl_thread_id_callback(CRYPTO_THREADID* pthreadid)
#if defined(WIN32) #if defined(WIN32)
CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread()); CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread());
#else #else
CRYPTO_THREADID_set_numeric(pthreadid, pthread_self()); CRYPTO_THREADID_set_pointer(pthreadid, pthread_self());
#endif #endif
} }
......
...@@ -663,7 +663,7 @@ void LLCrashLogger::ssl_thread_id_callback(CRYPTO_THREADID* pthreadid) ...@@ -663,7 +663,7 @@ void LLCrashLogger::ssl_thread_id_callback(CRYPTO_THREADID* pthreadid)
#if LL_WINDOWS #if LL_WINDOWS
CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread()); CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread());
#else #else
CRYPTO_THREADID_set_numeric(pthreadid, pthread_self()); CRYPTO_THREADID_set_pointer(pthreadid, pthread_self());
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment