Linux; Update curl

master
Nicky 2022-02-20 20:46:18 +01:00
parent 4b796cc1ba
commit 2db46702c4
3 changed files with 8 additions and 2 deletions

View File

@ -792,9 +792,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>96dd770f246917589b776300a2d07f9e</string>
<string>0bcccd248a5e4084af4026eee439816b</string>
<key>url</key>
<string>http://3p.firestormviewer.org/curl-7.54.1.212891029-linux64-212891029.tar.bz2</string>
<string>http://3p.firestormviewer.org/curl-7.81.0.220511906-linux64_bionic-220511906.tar.bz2</string>
</map>
<key>name</key>
<string>linux64</string>

View File

@ -344,7 +344,10 @@ public:
switch (curlcode)
{
case CURLE_SSL_PEER_CERTIFICATE:
// <FS:ND/> CURLE_SSL_CACERT has been deprecated, the LIBCURL-VERSION_NUM check is probably no checking for the lowest curl vesion this did happen
#if LIBCURL_VERSION_NUM < 0x075100
case CURLE_SSL_CACERT:
#endif
data["certificate"] = mTransaction->getErrorCertData();
break;

View File

@ -517,7 +517,10 @@ void LLXMLRPCTransaction::Impl::setHttpStatus(const LLCore::HttpStatus &status)
message = LLTrans::getString("ssl_peer_certificate");
break;
// <FS:ND/> CURLE_SSL_CACERT has been deprecated, the LIBCURL-VERSION_NUM check is probably no checking for the lowest curl vesion this did happen
#if LIBCURL_VERSION_NUM < 0x075100
case CURLE_SSL_CACERT:
#endif
case CURLE_SSL_CONNECT_ERROR:
message = LLTrans::getString("ssl_connect_error");
break;