From a9de0a9f54c1a4858f0f10162d348fa506242577 Mon Sep 17 00:00:00 2001 From: Phil Crump Date: Thu, 25 May 2017 12:51:35 +0100 Subject: docs/CURLOPT_SSLVERSION.3: Correct define name in example Closes #1509 --- docs/libcurl/opts/CURLOPT_SSLVERSION.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLOPT_SSLVERSION.3 b/docs/libcurl/opts/CURLOPT_SSLVERSION.3 index d07ae8dde..f1443a10c 100644 --- a/docs/libcurl/opts/CURLOPT_SSLVERSION.3 +++ b/docs/libcurl/opts/CURLOPT_SSLVERSION.3 @@ -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 */ -- cgit v1.2.3