Skip to content

Conversation

@baruchsiach
Copy link

Fixes #134.

curl 7.62.0 deprecates the CURLE_SSL_CACERT error code, and unifies it
with CURLE_PEER_FAILED_VERIFICATION. Adjust the errors list to match.

This fixes the following build failure:

src/lcerr_easy.h: In function 'lcurl_err_easy_mnemo':
src/lcerror.c:32:22: error: duplicate case value
#define ERR_ENTRY(E) case CURLE_##E: return #E;
^
src/lcerr_easy.h:74:1: note: in expansion of macro 'ERR_ENTRY'
ERR_ENTRY ( SSL_CACERT )
^~~~~~~~~
src/lcerror.c:32:22: note: previously used here
#define ERR_ENTRY(E) case CURLE_##E: return #E;
^
src/lcerr_easy.h:65:1: note: in expansion of macro 'ERR_ENTRY'
ERR_ENTRY ( PEER_FAILED_VERIFICATION )
^~~~~~~~~

Fixes Lua-cURL#134. curl 7.62.0 deprecates the CURLE_SSL_CACERT error code, and unifies it with CURLE_PEER_FAILED_VERIFICATION. Adjust the errors list to match. This fixes the following build failure: src/lcerr_easy.h: In function 'lcurl_err_easy_mnemo': src/lcerror.c:32:22: error: duplicate case value #define ERR_ENTRY(E) case CURLE_##E: return #E; ^ src/lcerr_easy.h:74:1: note: in expansion of macro 'ERR_ENTRY' ERR_ENTRY ( SSL_CACERT ) ^~~~~~~~~ src/lcerror.c:32:22: note: previously used here #define ERR_ENTRY(E) case CURLE_##E: return #E; ^ src/lcerr_easy.h:65:1: note: in expansion of macro 'ERR_ENTRY' ERR_ENTRY ( PEER_FAILED_VERIFICATION ) ^~~~~~~~~
@coveralls
Copy link

coveralls commented Nov 1, 2018

Coverage Status

Coverage increased (+1.5%) to 64.918% when pulling 4e3764e on baruchsiach:fix-curl-7.62.0 into b4d1d79 on Lua-cURL:master.

@moteus moteus mentioned this pull request Nov 3, 2018
@moteus
Copy link
Member

moteus commented Nov 4, 2018

Please check out master branch.

@moteus moteus closed this Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants