mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:53:31 +03:00
writeout: add %{certs} and %{num_certs}
Let users get the server certificate chain using the command line Closes #10019
This commit is contained in:
parent
db5f833cc7
commit
c6aa19c1da
7 changed files with 77 additions and 2 deletions
|
|
@ -29,6 +29,7 @@
|
|||
typedef enum {
|
||||
VAR_NONE, /* must be the first */
|
||||
VAR_APPCONNECT_TIME,
|
||||
VAR_CERT,
|
||||
VAR_CONNECT_TIME,
|
||||
VAR_CONTENT_TYPE,
|
||||
VAR_EFFECTIVE_FILENAME,
|
||||
|
|
@ -47,6 +48,7 @@ typedef enum {
|
|||
VAR_LOCAL_IP,
|
||||
VAR_LOCAL_PORT,
|
||||
VAR_NAMELOOKUP_TIME,
|
||||
VAR_NUM_CERTS,
|
||||
VAR_NUM_CONNECTS,
|
||||
VAR_NUM_HEADERS,
|
||||
VAR_ONERROR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue