#3875 CURLE_SSL_CACERT is deprecated in recent curl versions
Closed: Fixed 5 years ago Opened 5 years ago 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

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

5 years ago

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

5 years ago

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

5 years ago

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.

Login to comment on this ticket.

Metadata