Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Sep 11, 2024

OpenSSL must be selected (manually or by default) and detected for
USE_OPENSSL_QUIC=ON to work. This was documented before this patch,
but with CMake it was possible to use USE_OPENSSL_QUIC=ON without
an explicit or default CURL_USE_OPENSSL=ON, leading to a confused
internal state.

Fix by checking the QUIC condition early, showing a warning if enabled
without OpenSSL, and ignoring QUIC in such case.

Also: Fix casing of OpenSSL in option description.

Ref: #14866
Closes #14872

@vszakats vszakats added the cmake label Sep 11, 2024
@github-actions github-actions bot added the build label Sep 11, 2024
@vszakats vszakats changed the title cmake: ensure CURL_USE_OPENSSL is set when USE_OPENSSL_QUIC=ON cmake: require CURL_USE_OPENSSL=ON wth USE_OPENSSL_QUIC=ON Sep 11, 2024
@vszakats vszakats changed the title cmake: require CURL_USE_OPENSSL=ON wth USE_OPENSSL_QUIC=ON cmake: ensure CURL_USE_OPENSSL=ON with USE_OPENSSL_QUIC=ON Sep 11, 2024
@vszakats vszakats changed the title cmake: ensure CURL_USE_OPENSSL=ON with USE_OPENSSL_QUIC=ON cmake: ensure CURL_USE_OPENSSL=ON is set with USE_OPENSSL_QUIC=ON Sep 11, 2024
@vszakats vszakats added TLS HTTP/3 h3 or quic related labels Sep 11, 2024
@vszakats vszakats changed the title cmake: ensure CURL_USE_OPENSSL=ON is set with USE_OPENSSL_QUIC=ON cmake: ensure CURL_USE_OPENSSL/USE_OPENSSL_QUIC are set in sync Sep 12, 2024
@vszakats vszakats closed this in 9dc0770 Sep 12, 2024
@vszakats vszakats deleted the cm-openssl-quic branch September 12, 2024 10:55
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
OpenSSL must be selected (manually or by default) and detected for
`USE_OPENSSL_QUIC=ON` to work. This was documented before this patch,
but with CMake it was possible to use `USE_OPENSSL_QUIC=ON` without
an explicit or default `CURL_USE_OPENSSL=ON`, leading to a confused
internal state.

Fix by checking the QUIC condition early, showing a warning if enabled
without OpenSSL, and ignoring QUIC in such case.

Also: Fix casing of OpenSSL in option description.

Ref: curl#14866
Closes curl#14872
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants