From a2b360f8908139db9caad9011f43d47c442cc8c1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 19 Sep 2016 14:32:59 +0200 Subject: openssl: don't call ERR_remote_thread_state on >= 1.1.0 Follow-up fix to d9321562 --- lib/vtls/openssl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/vtls') 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) -- cgit v1.2.3