mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
parent
59cc0234e5
commit
a9de0a9f54
@ -79,7 +79,7 @@ if(curl) {
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
||||
|
||||
/* ask libcurl to use TLS version 1.1 or later */
|
||||
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1.1 |
|
||||
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_1 |
|
||||
CURL_SSLVERSION_MAX_DEFAULT);
|
||||
|
||||
/* Perform the request */
|
||||
|
Loading…
Reference in New Issue
Block a user