]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS
authorViktor Szakats <commit@vsz.me>
Wed, 27 Sep 2023 13:40:54 +0000 (13:40 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 28 Sep 2023 10:50:56 +0000 (10:50 +0000)
commit781242ffa44a9f9b95b6da5ac5a1bf6372ec6257
tree8dfca2424ff93a1b055a6d8f51c5b0d52df86ffe
parente5bb88b8f824ed87620bd923552534c83c2a516e
cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS

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: #11964

Closes #11967
.github/workflows/macos.yml
CMakeLists.txt
appveyor.yml
lib/curl_config.h.cmake
lib/vtls/gtls.c