curl-library
CURLOPT_SSL_CTX_FUNCTION for SSPI
Date: Thu, 10 Mar 2016 20:05:45 -0800
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 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.
Thanks,
- Henri Hein
ThinAir Labs
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-11