mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:01:40 +03:00
cmake: add warning for using TLS libraries without 1.3 support
Closes #12900
This commit is contained in:
parent
05104f826e
commit
f8513ee62e
1 changed files with 6 additions and 0 deletions
|
|
@ -720,6 +720,12 @@ if(USE_MSH3)
|
|||
list(APPEND CURL_LIBS ${MSH3_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(USE_MBEDTLS OR
|
||||
USE_BEARSSL OR
|
||||
USE_SECTRANSP)
|
||||
message(WARNING "A selected TLS library does not support TLS 1.3.")
|
||||
endif()
|
||||
|
||||
if(CURL_WITH_MULTI_SSL AND (USE_NGTCP2 OR USE_QUICHE OR USE_MSH3))
|
||||
message(FATAL_ERROR "MultiSSL cannot be enabled with HTTP/3 and vice versa.")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue