VirtualBox

Ignore:
Timestamp:
Oct 16, 2014 10:37:19 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96580
Message:

Runtime/http: force TLSv1

Location:
trunk/src/VBox/Runtime/common/misc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/http.cpp

    r52217 r53074  
    488488    if (CURL_FAILED(rcCurl))
    489489        return VERR_INTERNAL_ERROR;
     490    rcCurl = curl_easy_setopt(pHttpInt->pCurl, CURLOPT_SSLVERSION, (long)CURL_SSLVERSION_TLSv1);
     491    if (CURL_FAILED(rcCurl))
     492        return VERR_INVALID_PARAMETER;
    490493
    491494    rcCurl = curl_easy_perform(pHttpInt->pCurl);
  • trunk/src/VBox/Runtime/common/misc/s3.cpp

    r42261 r53074  
    997997    curl_easy_setopt(pS3Int->pCurl, CURLOPT_READFUNCTION, rtS3ReadFileCallback);
    998998    curl_easy_setopt(pS3Int->pCurl, CURLOPT_READDATA, &hFile);
     999    curl_easy_setopt(pS3Int->pCurl, CURLOPT_SSLVERSION, (long)CURL_SSLVERSION_TLSv1);
    9991000
    10001001    /* Start the request */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette