#3875 CURLE_SSL_CACERT is deprecated in recent curl versions
Closed: Fixed Opened by sbose.

When building SSSD with curl-7.62.0 there is the following error:

./src/util/tev_curl.c: In function 'curl_code2errno':
./src/util/tev_curl.c:113:5: error: duplicate case value
     case CURLE_PEER_FAILED_VERIFICATION:
     ^~~~
./src/util/tev_curl.c: 100:5: note: previously used here
     case CURLE_SSL_CACERT:
     ^~~~
make[4]: *** [Makefile:32231: src/util/tcurl_test_tool-tev_curl.o] Error 1

From the curl CHANGES file:

- [Han Han brought this change]
  ssl: deprecate CURLE_SSL_CACERT in favour of a unified error code
  Long live CURLE_PEER_FAILED_VERIFICATION

https://pagure.io/SSSD/sssd/pull-request/3878

Metadata Update from @lslebodn:
- Issue tagged with: PR

  • master: 1ee12b05570fcfb8e4190c9ec704c5563138344d

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4865

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata