From 0b54043d17da7315f79eb778abbb0c405cf6fff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Thu, 8 Mar 2018 16:17:14 +0100 Subject: [PATCH] * src/openssl.c: Fix build for OpenSSL 1.1.0 without TLS1_3_VERSION --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openssl.c b/src/openssl.c index aed99e7c..aab55d98 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -265,7 +265,7 @@ ssl_init (void) break; case secure_protocol_tlsv1_3: -#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L) +#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L) && defined TLS1_3_VERSION meth = TLS_client_method(); ssl_proto_version = TLS1_3_VERSION; #else