]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
openssl: don't call ERR_remote_thread_state on >= 1.1.0
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 Sep 2016 12:32:59 +0000 (14:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Sep 2016 12:32:59 +0000 (14:32 +0200)
Follow-up fix to d9321562

lib/vtls/openssl.c

index 30a8dabc39a1a310247b740ee315a7b52234e2b4..dd6f1c99c132ad91d98b66194f0e7928e1091d39 100644 (file)
 #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)