diff options
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_CERTINFO.3')
-rw-r--r-- | docs/libcurl/opts/CURLINFO_CERTINFO.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/opts/CURLINFO_CERTINFO.3 b/docs/libcurl/opts/CURLINFO_CERTINFO.3 index 3a6e18ee..ed027bff 100644 --- a/docs/libcurl/opts/CURLINFO_CERTINFO.3 +++ b/docs/libcurl/opts/CURLINFO_CERTINFO.3 @@ -20,7 +20,7 @@ .\" * .\" ************************************************************************** .\" -.TH CURLINFO_CERTINFO 3 "March 23, 2020" "libcurl 7.71.1" "curl_easy_getinfo options" +.TH CURLINFO_CERTINFO 3 "July 04, 2020" "libcurl 7.72.0" "curl_easy_getinfo options" .SH NAME CURLINFO_CERTINFO \- get the TLS certificate chain @@ -28,10 +28,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 |