Skip to content

build: support LibreSSL native crypto lib with ngtcp2 1.15.0+#18377

Closed
vszakats wants to merge 4 commits into
curl:masterfrom
vszakats:ngtcp2-libressl
Closed

build: support LibreSSL native crypto lib with ngtcp2 1.15.0+#18377
vszakats wants to merge 4 commits into
curl:masterfrom
vszakats:ngtcp2-libressl

Conversation

@vszakats

@vszakats vszakats commented Aug 23, 2025

Copy link
Copy Markdown
Member

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: ngtcp2/ngtcp2#1716

@vszakats vszakats added TLS cmake HTTP/3 h3 or quic related labels Aug 23, 2025
@github-actions github-actions Bot added the build label Aug 23, 2025
@vszakats vszakats changed the title cmake: support LibreSSL native crypto lib with ngtcp 1.15.0+ cmake: support LibreSSL native crypto lib with ngtcp2 1.15.0+ Aug 23, 2025
@github-actions github-actions Bot added the CI Continuous Integration label Aug 23, 2025
@vszakats vszakats changed the title cmake: support LibreSSL native crypto lib with ngtcp2 1.15.0+ build: support LibreSSL native crypto lib with ngtcp2 1.15.0+ Aug 23, 2025
vszakats added a commit that referenced this pull request Aug 23, 2025
Replace "quictls" with "ossl".

Follow-up to 5eefdd7 #17027
Cherry-picked from #18377
Closes #18378
@vszakats vszakats closed this in 31e6798 Aug 23, 2025
@vszakats
vszakats deleted the ngtcp2-libressl branch August 23, 2025 13:46
vszakats added a commit to vszakats/curl that referenced this pull request Aug 23, 2025
Also: Build LibreSSL with cmake. It's 3x faster (90s -> 30s).

Follow-up to e724259 curl#18379
Follow-up to 31e6798 curl#18377
Cherry-picked from curl#18377
vszakats added a commit that referenced this pull request Aug 23, 2025
Also: Build LibreSSL with cmake. It's 3x faster (90s -> 30s).

Follow-up to e724259 #18379
Follow-up to 31e6798 #18377
Cherry-picked from #18377
Closes #18381
vszakats added a commit to curl/curl-for-win that referenced this pull request Aug 23, 2025
vszakats added a commit to curl/curl-for-win that referenced this pull request Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration cmake HTTP/3 h3 or quic related TLS

Development

Successfully merging this pull request may close these issues.

2 participants