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: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS #11967
Conversation
This should probably be a 'found', if this OpenSSL 1.0.2 has SRP enabled: https://ci.appveyor.com/project/curlorg/curl/builds/48139282/job/7xbgl6gw8u7a17fy#L33. Error: I won't be dealing with this, it's an obsolete OpenSSL version combined with MSVC. UPDATE: Upgrading to OpenSSL 1.1.1 fixes it. |
With new option `CURL_DISABLE_SRP=ON` to force-disable it. To match existing similar option and detection logic in autotools. Also: - fix detecting GnuTLS. - comment typos, whitespace. Ref: curl#11964 Closes #xxxxx
This could use a more delicate approach.
6df79e6
to
f4d54a8
Compare
CMake did not detect TLS-SRP support and did not enable it automatically in curl 8.3.0 and earlier. This might change and we want to keep it disabled in curl-for-win. Ref: curl/curl#11967
With new option `CURL_DISABLE_SRP=ON` to force-disable it. To match existing option and detection logic in autotools. Also: - fix detecting GnuTLS. We assume `nettle` as a GnuTLS dependency. - add CMake GnuTLS CI job. - bump AppVeyor CMake OpenSSL MSVC job to OpenSSL 1.1.1 (from 1.0.2) TLS-SRP fails to detect with 1.0.2 due to an OpenSSL header bug. - fix compiler warning when building with GnuTLS and disabled TLS-SRP. - fix comment typos, whitespace. Ref: curl#11964 Closes curl#11967
With new option
CURL_DISABLE_SRP=ON
to force-disable it.To match existing option and detection logic in autotools.
Also:
We assume
nettle
as a GnuTLS dependency.TLS-SRP fails to detect with 1.0.2 due to an OpenSSL header bug.
Ref: #11964
Closes #11967