From: Filip Salomonsson Date: Sat, 4 Jul 2020 11:56:50 +0000 (+0200) Subject: CURLINFO_CERTINFO.3: fix typo X-Git-Tag: curl-7_72_0~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=963d17add2a68428d4e971f04f0fb9b9f3ac1517;p=thirdparty%2Fcurl.git CURLINFO_CERTINFO.3: fix typo Closes https://github.com/curl/curl/pull/5655 --- diff --git a/docs/libcurl/opts/CURLINFO_CERTINFO.3 b/docs/libcurl/opts/CURLINFO_CERTINFO.3 index 79de124440..7d3a652b48 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 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