Skip to content
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

cmake: ensure CURL_USE_OPENSSL/USE_OPENSSL_QUIC are set in sync #14872

Closed
wants to merge 7 commits into from

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
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