1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

docs/CURLOPT_SSLVERSION.3: Correct define name in example

Closes #1509
This commit is contained in:
Phil Crump 2017-05-25 12:51:35 +01:00 committed by Daniel Stenberg
parent 59cc0234e5
commit a9de0a9f54

View File

@ -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 */