]> granicus.if.org Git - curl/commit
getinfo: CURLINFO_TLS_SSL_PTR supersedes CURLINFO_TLS_SESSION
authorJay Satiro <raysatiro@yahoo.com>
Wed, 24 Feb 2016 00:03:03 +0000 (19:03 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 24 Feb 2016 00:03:03 +0000 (19:03 -0500)
commit332414a30e82caa8fbc6cd76903f286736594052
tree9f74485828cace029cf9af1183709c6094ca74ac
parent3438ce7f468e837f98f51b798da15ff0a836cf43
getinfo: CURLINFO_TLS_SSL_PTR supersedes CURLINFO_TLS_SESSION

The two options are almost the same, except in the case of OpenSSL:

CURLINFO_TLS_SESSION OpenSSL session internals is SSL_CTX *.

CURLINFO_TLS_SSL_PTR OpenSSL session internals is SSL *.

For backwards compatibility we couldn't modify CURLINFO_TLS_SESSION to
return an SSL pointer for OpenSSL.

Also, add support for the 'internals' member to point to SSL object for
the other backends axTLS, PolarSSL, Secure Channel, Secure Transport and
wolfSSL.

Bug: https://github.com/curl/curl/issues/234
Reported-by: dkjjr89@users.noreply.github.com
Bug: https://curl.haxx.se/mail/lib-2015-09/0127.html
Reported-by: Michael König
docs/libcurl/curl_easy_getinfo.3
docs/libcurl/opts/CURLINFO_TLS_SESSION.3
docs/libcurl/opts/CURLINFO_TLS_SSL_PTR.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.am
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/getinfo.c
packages/OS400/ccsidcurl.c
packages/OS400/curl.inc.in