openssl: don't call ERR_remote_thread_state on >= 1.1.0

Follow-up fix to d9321562
This commit is contained in:
Daniel Stenberg 2016-09-19 14:32:59 +02:00
parent de71e68000
commit a2b360f890
1 changed files with 1 additions and 0 deletions

View File

@ -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)