aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Crump <phil@philcrump.co.uk>2017-05-25 12:51:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-05-25 16:28:30 +0200
commita9de0a9f54c1a4858f0f10162d348fa506242577 (patch)
tree4b3f7a78d0a7d70af4acf144985cd164130d0095
parent59cc0234e5be31d40aa91951984e8e00ca54f0ec (diff)
docs/CURLOPT_SSLVERSION.3: Correct define name in example
Closes #1509
-rw-r--r--docs/libcurl/opts/CURLOPT_SSLVERSION.32
1 files changed, 1 insertions, 1 deletions
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 */