cmake: warn for OpenSSL versions missing TLS 1.3 support
To match existing warnings for Secure Transport and BearSSL. OpenSSL 1.1.1 or upper are offering TLS 1.3 support. Ref: https://wiki.openssl.org/index.php/TLS1.3 Closes #16120
This commit is contained in:
parent
b0009d0216
commit
34c1c653fc
@ -778,6 +778,9 @@ if(CURL_USE_OPENSSL)
|
||||
set(_openssl "AmiSSL")
|
||||
else()
|
||||
set(_openssl "OpenSSL")
|
||||
if(OPENSSL_VERSION VERSION_LESS 1.1.1)
|
||||
message(WARNING "OpenSSL ${OPENSSL_VERSION} does not support TLS 1.3.")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user