Skip to content

Commit

Permalink
CURLINFO_CERTINFO.3: fix typo
Browse files Browse the repository at this point in the history
Closes #5655
  • Loading branch information
filipsalomonsson authored and jay committed Jul 6, 2020
1 parent 69bfde4 commit 963d17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/libcurl/opts/CURLINFO_CERTINFO.3
Expand Up @@ -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
Expand Down

0 comments on commit 963d17a

Please sign in to comment.