mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
disable ERR_remove_thread_state if not required
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user