Update CURLCode error to the non-obsoleted value. (#5545)

This commit is contained in:
Ahson Khan 2024-05-16 10:49:09 -07:00 committed by GitHub
parent 3a67ae53cb
commit 6b5a8d1e36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2522,7 +2522,7 @@ CurlConnection::CurlConnection(
if (performResult != CURLE_OK)
{
#if defined(AZ_PLATFORM_LINUX)
if (performResult == CURLE_SSL_PEER_CERTIFICATE)
if (performResult == CURLE_PEER_FAILED_VERIFICATION)
{
curl_easy_getinfo(m_handle.get(), CURLINFO_SSL_VERIFYRESULT, &result);
throw Http::TransportException(