mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
openssl: fix ERR_remove_thread_state() for boringssl/libressl
The removed arg is only done in OpenSSL Bug: https://twitter.com/xtraemeat/status/712564874098917376
This commit is contained in:
parent
5173c499c1
commit
240cd84b49
@ -95,7 +95,9 @@
|
|||||||
|
|
||||||
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||||
#define HAVE_ERR_REMOVE_THREAD_STATE 1
|
#define HAVE_ERR_REMOVE_THREAD_STATE 1
|
||||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100004L)
|
#if (OPENSSL_VERSION_NUMBER >= 0x10100004L) && \
|
||||||
|
!defined(LIBRESSL_VERSION_NUMBER) && \
|
||||||
|
!defined(OPENSSL_IS_BORINGSSL)
|
||||||
/* OpenSSL 1.1.0-pre4 removed the argument! */
|
/* OpenSSL 1.1.0-pre4 removed the argument! */
|
||||||
#define HAVE_ERR_REMOVE_THREAD_STATE_NOARG 1
|
#define HAVE_ERR_REMOVE_THREAD_STATE_NOARG 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user