]> git.ipfire.org Git - thirdparty/curl.git/commit
build: support LibreSSL native crypto lib with ngtcp2 1.15.0+
authorViktor Szakats <commit@vsz.me>
Sat, 23 Aug 2025 08:48:12 +0000 (10:48 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 23 Aug 2025 13:45:36 +0000 (15:45 +0200)
commit31e6798544bf8aafbd8aef61b08623b92312aa42
treee3f6eef22eb89f07bf876b905e92e355376e3b3e
parente724259bcbb5cf8b3b12e0ff0fd90d2aa47f8f46
build: support LibreSSL native crypto lib with ngtcp2 1.15.0+

In ngtcp2 1.15.0 the LibreSSL crypto interface library got its own name:
`libngtcp2_crypto_libressl`. In previous versions it used
`libngtcp2_crypto_quictls`, shared with quictls itself (but not
compatible with).

Adapt autotools and cmake scripts to look for the new name first, and
fall back to the old one if not found.

Fallback to quictls tested OK in CI with both autotools and cmake:
https://github.com/curl/curl/actions/runs/17174994908?pr=18377

Ref: https://github.com/ngtcp2/ngtcp2/releases/tag/v1.15.0
Ref: https://github.com/ngtcp2/ngtcp2/pull/1716

Closes #18377
CMake/FindNGTCP2.cmake
CMakeLists.txt
configure.ac
docs/INSTALL-CMAKE.md
m4/curl-openssl.m4