diff options
author | nikita <nikita@NetBSD.org> | 2020-09-14 20:51:07 +0200 |
---|---|---|
committer | nikita <nikita@NetBSD.org> | 2020-09-14 20:51:07 +0200 |
commit | 0ab4932bcf864e45dc72e59db0f785c5c6c4f6a4 (patch) | |
tree | 46b860affbd181a0dbb263aa4cca9955c47ef40c /docs/libcurl/opts/GNURLINFO_CERTINFO.3 | |
parent | ea5627408e41592ac8750032de41b97038811d88 (diff) | |
parent | 9d954e49bce3706a9a2efb119ecd05767f0f2a9e (diff) | |
download | gnurl-0ab4932bcf864e45dc72e59db0f785c5c6c4f6a4.tar.gz gnurl-0ab4932bcf864e45dc72e59db0f785c5c6c4f6a4.tar.bz2 gnurl-0ab4932bcf864e45dc72e59db0f785c5c6c4f6a4.zip |
Merge tag 'curl-7_72_0' into master
curl 7.72.0
Diffstat (limited to 'docs/libcurl/opts/GNURLINFO_CERTINFO.3')
-rw-r--r-- | docs/libcurl/opts/GNURLINFO_CERTINFO.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/GNURLINFO_CERTINFO.3 b/docs/libcurl/opts/GNURLINFO_CERTINFO.3 index 42482c473..d3782fd39 100644 --- a/docs/libcurl/opts/GNURLINFO_CERTINFO.3 +++ b/docs/libcurl/opts/GNURLINFO_CERTINFO.3 @@ -27,10 +27,10 @@ CURLINFO_CERTINFO \- get the TLS certificate chain #include <gnurl/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 |