build: support LibreSSL native crypto lib with ngtcp2 1.15.0+#18377
Closed
vszakats wants to merge 4 commits into
Closed
build: support LibreSSL native crypto lib with ngtcp2 1.15.0+#18377vszakats wants to merge 4 commits into
vszakats wants to merge 4 commits into
Conversation
vszakats
force-pushed
the
ngtcp2-libressl
branch
from
August 23, 2025 10:13
78e8784 to
122af23
Compare
vszakats
force-pushed
the
ngtcp2-libressl
branch
from
August 23, 2025 10:28
6a99da6 to
9121645
Compare
vszakats
added a commit
that referenced
this pull request
Aug 23, 2025
vszakats
force-pushed
the
ngtcp2-libressl
branch
from
August 23, 2025 10:43
9121645 to
2504f8d
Compare
bagder
approved these changes
Aug 23, 2025
vszakats
force-pushed
the
ngtcp2-libressl
branch
from
August 23, 2025 13:18
4df12e6 to
0f5110b
Compare
configure only fall back to quictls when libressl crypto was not found
vszakats
force-pushed
the
ngtcp2-libressl
branch
from
August 23, 2025 13:19
0f5110b to
51ecba2
Compare
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
vszakats
added a commit
to curl/curl-for-win
that referenced
this pull request
Aug 23, 2025
Apply curl patch: curl/curl#18377 curl/curl@31e6798 Ref: https://github.com/ngtcp2/ngtcp2/releases/tag/v1.15.0 Ref: ngtcp2/ngtcp2#1716
vszakats
added a commit
to curl/curl-for-win
that referenced
this pull request
Aug 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In ngtcp2 1.15.0 the LibreSSL crypto interface library got its own name:
libngtcp2_crypto_libressl. In previous versions it usedlibngtcp2_crypto_quictls, shared with quictls itself (but notcompatible 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