Submitted upstream at https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7670. diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx index 28ee24dfe9..fc5405213a 100644 --- a/Source/cmCurl.cxx +++ b/Source/cmCurl.cxx @@ -38,6 +38,14 @@ std::string cmCurlSetCAInfo(::CURL* curl, const std::string& cafile) ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile.c_str()); check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: "); } + /* Honor the user-configurable OpenSSL environment variables. */ + else if (cmSystemTools::GetEnv("SSL_CERT_FILE", e)) { + ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, e.c_str()); + check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: "); + } else if (cmSystemTools::GetEnv("SSL_CERT_DIR", e)) { + ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAPATH, e.c_str()); + check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: "); + } #ifdef CMAKE_FIND_CAFILE # define CMAKE_CAFILE_FEDORA "/etc/pki/tls/certs/ca-bundle.crt" else if (cmSystemTools::FileExists(CMAKE_CAFILE_FEDORA, true)) { 1288923c67406036df975674d8487e9e'>refslogtreecommitdiff
path: root/gnu/packages/mpi.scm
AgeCommit message (Expand)Author
2024-04-04gnu: hwloc: Remove dependency on graphics libraries when cross-compiling....* gnu/packages/mpi.scm (hwloc-1)[inputs]: Remove dependency on graphics libraries when cross-compiling. Change-Id: I698ac3f8aadda634f6753bdeba0f5fbd77e608df Ludovic Courtès
2023-11-15gnu: openmpi: Update to 4.1.6....* gnu/packages/mpi.scm (openmpi): Update to 4.1.6. Ludovic Courtès
2023-11-15gnu: hwloc: Update to 2.9.3....* gnu/packages/mpi.scm (hwloc-2): Update to 2.9.3. Ludovic Courtès
2023-09-14gnu: openmpi: Enable PMIx....* gnu/packages/mpi.scm (openmpi)[arguments]: Pass “--with-pmix=internal”. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Lars Bilke