From: Daniel Stenberg Date: Mon, 19 Sep 2016 12:32:59 +0000 (+0200) Subject: openssl: don't call ERR_remote_thread_state on >= 1.1.0 X-Git-Tag: curl-7_51_0~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2b360f8908139db9caad9011f43d47c442cc8c1;p=thirdparty%2Fcurl.git openssl: don't call ERR_remote_thread_state on >= 1.1.0 Follow-up fix to d9321562 --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 30a8dabc39..dd6f1c99c1 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)