-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
wolfssl: add quic/ngtcp2 detection in cmake, and fix builds #10739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains 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
72d1e46
to
25a8512
Compare
25a8512
to
c6d8cb7
Compare
vszakats
added a commit
to curl/curl-for-win
that referenced
this pull request
Mar 11, 2023
It can be enabled here with CMake builds, once upstream merges. Ref: curl/curl#10739
vszakats
added a commit
that referenced
this pull request
Mar 13, 2023
Fix `stdint.h` and `inttypes.h` detection with non-autotools builds on Windows. (autotools already auto-detected them accurately.) `lib/config-win32.h` builds (e.g. `Makefile.mk`): - set `HAVE_STDINT_H` where supported. - set `HAVE_INTTYPES_H` for MinGW. CMake: - auto-detect them on Windows. (They were both force-disabled.) - delete unused `CURL_PULL_STDINT_H`. - delete unused `CURL_PULL_INTTYPES_H`. - stop detecting `HAVE_STDINT_H` twice. Present since the initial CMake commit: 4c5307b curl doesn't use these C99 headers, we need them now to workaround broken wolfSSL builds. Ref: #10739 Once that clears up, we can delete these detections and macros (unless we want to keep them for future us.) Reviewed-by: Daniel Stenberg Closes #10745
Move compression detection before TLS detection. wolfSSL uses zlib if available. (OpenSSL might also depend on zlib/zstd/brotli in a future release.) Closes curl#10739
e3c0b62
to
102642a
Compare
very green ✔️ ! |
vszakats
added a commit
to curl/curl-for-win
that referenced
this pull request
Mar 14, 2023
vszakats
added a commit
to curl/curl-for-win
that referenced
this pull request
Mar 14, 2023
bch
pushed a commit
to bch/curl
that referenced
this pull request
Jul 19, 2023
Fix `stdint.h` and `inttypes.h` detection with non-autotools builds on Windows. (autotools already auto-detected them accurately.) `lib/config-win32.h` builds (e.g. `Makefile.mk`): - set `HAVE_STDINT_H` where supported. - set `HAVE_INTTYPES_H` for MinGW. CMake: - auto-detect them on Windows. (They were both force-disabled.) - delete unused `CURL_PULL_STDINT_H`. - delete unused `CURL_PULL_INTTYPES_H`. - stop detecting `HAVE_STDINT_H` twice. Present since the initial CMake commit: 4c5307b curl doesn't use these C99 headers, we need them now to workaround broken wolfSSL builds. Ref: curl#10739 Once that clears up, we can delete these detections and macros (unless we want to keep them for future us.) Reviewed-by: Daniel Stenberg Closes curl#10745
bch
pushed a commit
to bch/curl
that referenced
this pull request
Jul 19, 2023
- add QUIC/ngtcp2 detection in CMake with wolfSSL. Because wolfSSL uses zlib if available, move compression detection before TLS detection. (OpenSSL might also need this in the future.) - wolfSSL 5.5.0 started using C99 types in its `quic.h` header, but it doesn't #include the necessary C99 header itself, breaking builds (unless another dependency pulled it by chance.) Add local workaround for it. For this to work with all build tools, we had to fix our header detection first. Ref: curl#10745 Ref: curl/curl-for-win@6ad5f6e Closes curl#10739
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.
Implement QUIC/ngtcp2 detection in CMake with wolfSSL.
Because wolfSSL uses zlib if available, move compression detection before TLS detection.
(OpenSSL might also need this in the future.)
wolfSSL 5.5.0 started using C99 types in its
quic.h
header, but it doesn't #include the necessary C99 header itself, breaking builds (unless another dependency pulled it by chance.) Add local workaround for it. For this to work with all build tools, we had to fix our header detection first. PR: build: fix stdint/inttypes detection with non-autotools #10745Ref: curl/curl-for-win@6ad5f6e
Closes #10739