On Mon, 6 Sep 2010, Mehmet Bozkurt wrote:
This might be kind of off topic but here goes anyway! I would like to know if there is any way to access the SSL structure associated with the current connection through the data provided in the callback sslctxfun()?
You use OpenSSL functions!
I have an application which needs access to the server certificate chain and it seems as if it is only possible through an SSL object (with SSL_get_peer_cert_chain(ssl)) and I only have access to an SSL_CTX in the callback.
Nope. See CURLOPT_CERTINFO and CURLINFO_CERTINFO. -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
