disable ERR_remove_thread_state if not required
This commit is contained in:
parent
53bd98883e
commit
b2ad9803b7
@ -290,6 +290,7 @@ BOOL winpr_CleanupSSL(DWORD flags)
|
||||
flags |= WINPR_SSL_CLEANUP_THREAD;
|
||||
}
|
||||
|
||||
#ifdef WINPR_OPENSSL_LOCKING_REQUIRED
|
||||
if (flags & WINPR_SSL_CLEANUP_THREAD)
|
||||
{
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10000000L)
|
||||
@ -298,7 +299,7 @@ BOOL winpr_CleanupSSL(DWORD flags)
|
||||
ERR_remove_thread_state(NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user