diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-17 20:49:16 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-21 20:40:04 +0000 |
commit | 2c04e8d80c29ab6e07eddb4bdd50591f46606239 (patch) | |
tree | c3d621ff6c3db71f83778294ac3c5726e37a70d4 /lib/urldata.h | |
parent | 925df5358005a587e593834cc625187e6e74f7ce (diff) |
curl_easy_getinfo: Added CURLINFO_TLS_SESSION for accessing TLS internals
Added new API for returning a SSL backend type and pointer, in order to
allow access to the TLS internals, that may then be used to obtain X509
certificate information for example.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 98686bb33..29cf9603b 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1637,6 +1637,8 @@ struct SessionHandle { other dynamic purposes */ struct WildcardData wildcard; /* wildcard download state info */ struct PureInfo info; /* stats, reports and info data */ + struct curl_tlsinfo tlsinfo; /* Information about the TLS session, only + valid after a client has asked for it */ #if defined(CURL_DOES_CONVERSIONS) && defined(HAVE_ICONV) iconv_t outbound_cd; /* for translating to the network encoding */ iconv_t inbound_cd; /* for translating from the network encoding */ |