]> granicus.if.org Git - curl/commitdiff
docs/CURLOPT_SSLVERSION.3: Correct define name in example
authorPhil Crump <phil@philcrump.co.uk>
Thu, 25 May 2017 11:51:35 +0000 (12:51 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 May 2017 14:28:30 +0000 (16:28 +0200)
Closes #1509

docs/libcurl/opts/CURLOPT_SSLVERSION.3

index d07ae8dde8c278a6de56b4af3f684f56268c55c5..f1443a10cc8ea55d082fe74f14201e8ec2696d36 100644 (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 */