]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLINFO_CERTINFO.3: fix typo
authorFilip Salomonsson <filip.salomonsson@gmail.com>
Sat, 4 Jul 2020 11:56:50 +0000 (13:56 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 6 Jul 2020 05:58:14 +0000 (01:58 -0400)
Closes https://github.com/curl/curl/pull/5655

docs/libcurl/opts/CURLINFO_CERTINFO.3

index 79de12444024e504ea85fa5ffaab412e6d06eee4..7d3a652b48ee315bffd33b17b16559b437f8d10f 100644 (file)
@@ -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
+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