On Thu, 20 Jan 2011, Mike Brennan wrote:

Where is CURLOPT_SSL_CTX_FUNCTION defined?

in include/curl/curl.h since version 7.10.6

And indeed, neither curl.h nor the other curl include files defines
CURLOPT_SSL_CTX_FUNCTION.

Look again. It is defined by a macro called CINIT() in this manner:

  /* Set the ssl context callback function, currently only for OpenSSL ssl_ctx
     in second argument. The function must be matching the
     curl_ssl_ctx_callback proto. */
  CINIT(SSL_CTX_FUNCTION, FUNCTIONPOINT, 108),

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to