diff options
author | Phil Crump <phil@philcrump.co.uk> | 2017-05-25 12:51:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-25 16:28:30 +0200 |
commit | a9de0a9f54c1a4858f0f10162d348fa506242577 (patch) | |
tree | 4b3f7a78d0a7d70af4acf144985cd164130d0095 /docs/libcurl | |
parent | 59cc0234e5be31d40aa91951984e8e00ca54f0ec (diff) | |
download | curl-a9de0a9f54c1a4858f0f10162d348fa506242577.tar.gz |
docs/CURLOPT_SSLVERSION.3: Correct define name in example
Closes #1509
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_SSLVERSION.3 | 2 |
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 */ |