diff options
Diffstat (limited to 'docs/libcurl/opts/GNURLOPT_KEYPASSWD.3')
-rw-r--r-- | docs/libcurl/opts/GNURLOPT_KEYPASSWD.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/GNURLOPT_KEYPASSWD.3 b/docs/libcurl/opts/GNURLOPT_KEYPASSWD.3 index 9145b0554..c54769064 100644 --- a/docs/libcurl/opts/GNURLOPT_KEYPASSWD.3 +++ b/docs/libcurl/opts/GNURLOPT_KEYPASSWD.3 @@ -9,7 +9,7 @@ .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms -.\" * are also available at https://curl.haxx.se/docs/copyright.html. +.\" * are also available at https://curl.se/docs/copyright.html. .\" * .\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell .\" * copies of the Software, and permit persons to whom the Software is @@ -43,7 +43,7 @@ All TLS based protocols: HTTPS, FTPS, IMAPS, POP3S, SMTPS etc. .nf CURL *curl = curl_easy_init(); if(curl) { - curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/foo.bin"); + curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/foo.bin"); curl_easy_setopt(curl, CURLOPT_SSLCERT, "client.pem"); curl_easy_setopt(curl, CURLOPT_SSLKEY, "key.pem"); curl_easy_setopt(curl, CURLOPT_KEYPASSWD, "superman"); |