cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLINFO_TLS_SESSION with OPENSSL returns SSL_CTX instead of SSL

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 1 Oct 2015 15:03:39 -0400

On 9/30/2015 8:15 PM, Ray Satiro wrote:
> I started a draft [2] of CURLINFO_TLS_SSL_PTR to get the active SSL
> object for all SSL backends. In the case of DarwinSSL and WinSSL it
> appears the CTX is the SSL object, please correct me if this is wrong.
> Just written not built, I could use some feedback.
>
>
> [1]: http://curl.haxx.se/mail/lib-2015-04/0154.html
> [2]:
> https://github.com/jay/curl/compare/master...jay:curlinfo_tls_ssl_ptr?expand=1

Here is another idea, piggyback on CURLINFO_TLS_SESSION instead.
CURLINFO_TLS_SESSION_V2 returns OpenSSL SSL * but is otherwise the same
as CURLINFO_TLS_SESSION:

https://github.com/jay/curl/compare/master...jay:curlinfo_tls_session_v2?expand=1

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-01