diff --git a/autobuild.xml b/autobuild.xml
index 6316c6edb5..136b517f2a 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -792,9 +792,9 @@
archive
name
linux64
diff --git a/indra/newview/llxmlrpclistener.cpp b/indra/newview/llxmlrpclistener.cpp
index bae615232e..0d1ac1c5c2 100644
--- a/indra/newview/llxmlrpclistener.cpp
+++ b/indra/newview/llxmlrpclistener.cpp
@@ -344,7 +344,10 @@ public:
switch (curlcode)
{
case CURLE_SSL_PEER_CERTIFICATE:
+// 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;
diff --git a/indra/newview/llxmlrpctransaction.cpp b/indra/newview/llxmlrpctransaction.cpp
index 4d7ec57ace..5916b43539 100644
--- a/indra/newview/llxmlrpctransaction.cpp
+++ b/indra/newview/llxmlrpctransaction.cpp
@@ -517,7 +517,10 @@ void LLXMLRPCTransaction::Impl::setHttpStatus(const LLCore::HttpStatus &status)
message = LLTrans::getString("ssl_peer_certificate");
break;
+// 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;