mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:13:31 +03:00
cmake: add openssl 3.5.0 + ngtcp2 support
``` curl 8.13.1-DEV (Darwin) libcurl/8.13.1-DEV OpenSSL/3.5.0 [...] ngtcp2/1.12.90 nghttp3/1.9.0 Release-Date: [unreleased] Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets zstd ``` Ref: #17027 Closes #17018
This commit is contained in:
parent
c6db2d45b2
commit
07cc50f8eb
3 changed files with 18 additions and 4 deletions
|
|
@ -30,6 +30,7 @@
|
|||
# - BoringSSL: Use `libngtcp2_crypto_boringssl`. (choose this for AWS-LC)
|
||||
# - wolfSSL: Use `libngtcp2_crypto_wolfssl`.
|
||||
# - GnuTLS: Use `libngtcp2_crypto_gnutls`.
|
||||
# - ossl: Use `libngtcp2_crypto_ossl`.
|
||||
#
|
||||
# Input variables:
|
||||
#
|
||||
|
|
@ -49,7 +50,7 @@
|
|||
if(NGTCP2_FIND_COMPONENTS)
|
||||
set(_ngtcp2_crypto_backend "")
|
||||
foreach(_component IN LISTS NGTCP2_FIND_COMPONENTS)
|
||||
if(_component MATCHES "^(BoringSSL|quictls|wolfSSL|GnuTLS)")
|
||||
if(_component MATCHES "^(BoringSSL|quictls|wolfSSL|GnuTLS|ossl)")
|
||||
if(_ngtcp2_crypto_backend)
|
||||
message(FATAL_ERROR "NGTCP2: Only one crypto library can be selected")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue