curl-library
Re: CURLINFO_TLS_SESSION
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Apr 2015 08:02:04 +0200 (CEST)
Date: Wed, 29 Apr 2015 08:02:04 +0200 (CEST)
On Wed, 29 Apr 2015, Yousuke Kimoto wrote:
> I'm interested in CURLINFO_TLS_SESSION. It seems that there is no issue to
> change the value from ctx (SSL_CTX) to handle (SSL).
What do you mean "no issue" ? If there's an existing application using that
pointer it will crash badly if we just suddenly return a different pointer.
> By the way, could you explain the reason why did you write such code to
> return SSL_CTX if you have the detail?
Because the code was made like that and nobody objected or brought up any
other suggestions! It has been in the code like this for quite some too
without anyone asking or commenting about it.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-04-29