projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53bd988
)
disable ERR_remove_thread_state if not required
author
Norbert Federa
<norbert.federa@thincast.com>
Fri, 25 Nov 2016 09:39:20 +0000
(10:39 +0100)
committer
Norbert Federa
<norbert.federa@thincast.com>
Fri, 25 Nov 2016 09:39:20 +0000
(10:39 +0100)
winpr/libwinpr/utils/ssl.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/utils/ssl.c
b/winpr/libwinpr/utils/ssl.c
index
86e6b08
..
a2e0f29
100644
(file)
--- a/
winpr/libwinpr/utils/ssl.c
+++ b/
winpr/libwinpr/utils/ssl.c
@@
-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;
}