On Thu, 10 Mar 2016, Henri Hein wrote:

> I forked the curl sources and implemented CURLOPT_SSL_CTX_FUNCTION for
> the SSPI/Schannel build.  Would there be any interest in a pull
> request for this?  It's just a few lines of code that I took from the
> cyassl source.  For my purposes, I needed access to the server
> certificate in my callback, so I found I had to make the call to the
> callback in the connect_step2(), rather than connect_step1(), where it
> is in cyassl.  Other than that it's exactly the same.
I don't see why not - it is my opinion that we should try and cover this 
functionality for all SSL backends if possible and appropriate to do so.
> I didn't add a test case for it.  I've been testing my own usage of
> the setting.  I'll be happy to add a test-case to the lib tests if we
> want to go ahead with this.

I would also suggest you update /docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 
as well ;-)
Kind Regards
Steve
                                          
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to