push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/<a class="double-link" href="https://git"><a class=hub.com/tarantool/tarantool/commit/fb0b558511e50100bd98a90bcb95271db230b4c2">fb0b55851<a href="https://github.com/tarantool/tarantool/commit/fb0b558511e50100bd98a90bcb95271db230b4c2"><a href="https://github.com/tarantool/tarantool/commit/fb0b558511e50100bd98a90bcb95271db230b4c2">&quot;&gt;httpc: fix compilation with libcurl &amp;gt;= 7.62.0 Starting from libcurl 7.62.0, CURL_SSL_CACERT is defined as a macro alias to CURLE_PEER_FAILED_VERIFICATION, see https://github.com/curl/curl/commit/</a><a class="double-link" href="https://github.com/tarantool/tarantool/commit/<a class="double-link" href="https://github.com/tarantool/tarantool/commit/3f3b26d6feb0667714902e836af608094235fca2">3f3b26d6f</a>">3f3b26d6f</a><a href="https://github.com/tarantool/tarantool/commit/fb0b558511e50100bd98a90bcb95271db230b4c2"> This breaks compilation: httpc.c:337:7: error: duplicate case value &#39;CURLE_PEER_FAILED_VERIFICATION&#39; case CURLE_PEER_FAILED_VERIFICATION: ^ httpc.c:336:7: note: previous case defined here case CURLE_SSL_CACERT: ^ curl.h:589:26: note: expanded from macro &#39;CURLE_SSL_CACERT&#39; #define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION ^ Fix this by using CURLE_SSL_CACERT only if libcurl version is less than 7.62.0. Note, we can't use CURL_AT_LEAST_VERSION to check libcurl version, because it isn't available in libcurl shipped with CentOS 6. (cherry picked from commit </a><a class="double-link" href="https://github.com/tarantool/tarantool/commit/<a class="double-link" href="https://github.com/tarantool/tarantool/commit/02da15f7109b8bb7921eb97a751607b9dd2885b2">02da15f71">02da15f71)
38362 of 47066 relevant lines covered (81.51%)
898917.76 hits per line