cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_easy_setopt fails setting CURLOPT_SSL_CTX_FUNCTION

From: Tom Goetze via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 8 Apr 2016 15:26:28 +0000 (UTC)

Following the example from: https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CTX_FUNCTION.htmlMy attempts at setting CURLOPT_SSL_CTX_FUNCTION are failing in the call:
  rv=curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function);

I always get rv == CURLE_FAILED_INIT

Any pointers on how to debug it? I believe it should have been built against OpenSSL, but since it is a system installed libcurl, I am not sure how I can validate (on RedHat 6.6). I mentioned this, since the docs says this feature is not always available, so interested to know how to check (unless the above is the check).

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-08