mirror of
https://github.com/mirror/wget.git
synced 2025-01-04 01:10:28 +08:00
* src/openssl.c: Fix build for OpenSSL 1.1.0 without TLS1_3_VERSION
This commit is contained in:
parent
040106b3e2
commit
0b54043d17
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user