diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2018-04-17 21:17:57 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-04-17 15:32:51 -0400 |
commit | 24e835587714289214002506aa0e2d59313f95c0 (patch) | |
tree | f0370364e2b150a36a6e27d277e5277f527ba3b7 /docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3 | |
parent | ba48863e52ab042a6cf754e254dfb5062a45b090 (diff) |
docs: fix typos
Closes https://github.com/curl/curl/pull/2503
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3 b/docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3 index a5f61a5bd..79c28a634 100644 --- a/docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3 +++ b/docs/libcurl/opts/CURLOPT_PROXY_CAINFO.3 @@ -28,7 +28,7 @@ CURLOPT_PROXY_CAINFO \- path to proxy Certificate Authority (CA) bundle CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_CAINFO, char *path); .SH DESCRIPTION -This option is for connecting to a HTTPS proxy, not a HTTPS server. +This option is for connecting to an HTTPS proxy, not an HTTPS server. Pass a char * to a zero terminated string naming a file holding one or more certificates to verify the HTTPS proxy with. @@ -60,7 +60,7 @@ Used with HTTPS proxy CURL *curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/"); - /* using a HTTPS proxy */ + /* using an HTTPS proxy */ curl_easy_setopt(curl, CURLOPT_PROXY, "https://localhost:443"); curl_easy_setopt(curl, CURLOPT_PROXY_CAINFO, "/etc/certs/cabundle.pem"); ret = curl_easy_perform(curl); |