Commit a2b360f8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

openssl: don't call ERR_remote_thread_state on >= 1.1.0

Follow-up fix to d9321562
parent de71e680
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -111,6 +111,7 @@
#define HAVE_OPAQUE_RSA_DSA_DH 1 /* since 1.1.0 -pre5 */
#define HAVE_OPAQUE_RSA_DSA_DH 1 /* since 1.1.0 -pre5 */
#define CONST_EXTS const
#define CONST_EXTS const
#define CONST_ASN1_BIT_STRING const
#define CONST_ASN1_BIT_STRING const
#define HAVE_ERR_REMOVE_THREAD_STATE_DEPRECATED 1
#else
#else
/* For OpenSSL before 1.1.0 */
/* For OpenSSL before 1.1.0 */
#define ASN1_STRING_get0_data(x) ASN1_STRING_data(x)
#define ASN1_STRING_get0_data(x) ASN1_STRING_data(x)