mirror of
https://github.com/curl/curl.git
synced 2026-07-25 21:27:18 +03:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue