aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-09-19 14:32:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-09-19 14:32:59 +0200
commita2b360f8908139db9caad9011f43d47c442cc8c1 (patch)
treeddeabed176faa0a7cce2f7e870d6741bdd6a5b0d /lib/vtls
parentde71e68000c8624ea13f90b136f8734dd0fb1bdc (diff)
openssl: don't call ERR_remote_thread_state on >= 1.1.0
Follow-up fix to d9321562
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 30a8dabc3..dd6f1c99c 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -111,6 +111,7 @@
#define HAVE_OPAQUE_RSA_DSA_DH 1 /* since 1.1.0 -pre5 */
#define CONST_EXTS const
#define CONST_ASN1_BIT_STRING const
+#define HAVE_ERR_REMOVE_THREAD_STATE_DEPRECATED 1
#else
/* For OpenSSL before 1.1.0 */
#define ASN1_STRING_get0_data(x) ASN1_STRING_data(x)