Hi All, I am trying to write a curlpp ssl callback function on the client side to do a custom verification of the server side certificate. Here's a snippet.
m_sMyRequest.setOpt<cURLpp::Options::SslVerifyPeer>(true); m_sMyRequest.setOpt<cURLpp::Options::SslVerifyHost>(2); m_sMyRequest.setOpt<cURLpp::Options::SslCtxFunction>(sslctxfun); What should the signature of the sslctxfun() callback function. I came across sample C ssl callback function listed under libcurl examples: static CURLcode sslctxfun(CURL * curl, void * sslctx, void * parm); But the same callback signature doesn't seem to work for curlpp. The curlpp documentation lacks a proper C++ ssl example. Any help is appreciated. Thanks. Aditya -- You received this message because you are subscribed to the Google Groups "curlpp" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.
