summaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorFilip Salomonsson <filip.salomonsson@gmail.com>2020-07-04 13:56:50 +0200
committerJay Satiro <raysatiro@yahoo.com>2020-07-06 01:58:14 -0400
commit963d17add2a68428d4e971f04f0fb9b9f3ac1517 (patch)
tree3c1a35a1e2859259220212470834e6463dcea14f /docs/libcurl
parent69bfde451597bfede70d1d716584b67ebccbd4f6 (diff)
downloadcurl-963d17add2a68428d4e971f04f0fb9b9f3ac1517.tar.gz
CURLINFO_CERTINFO.3: fix typo
Closes https://github.com/curl/curl/pull/5655
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/opts/CURLINFO_CERTINFO.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLINFO_CERTINFO.3 b/docs/libcurl/opts/CURLINFO_CERTINFO.3
index 79de12444..7d3a652b4 100644
--- a/docs/libcurl/opts/CURLINFO_CERTINFO.3
+++ b/docs/libcurl/opts/CURLINFO_CERTINFO.3
@@ -27,10 +27,10 @@ CURLINFO_CERTINFO \- get the TLS certificate chain
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CERTINFO,
- struct curl_certinfo *chainp);
+ struct curl_certinfo **chainp);
.SH DESCRIPTION
Pass a pointer to a 'struct curl_certinfo *' and you'll get it set to point to
-struct that holds a number of linked lists with info about the certificate
+a struct that holds a number of linked lists with info about the certificate
chain, assuming you had \fICURLOPT_CERTINFO(3)\fP enabled when the request was
made. The struct reports how many certs it found and then you can extract info
for each of those certs by following the linked lists. The info chain is