Hi Daniel,

Can I know other alternate options available for same functionality as 
CURLOPT_SSL_CTX_FUNCTION in gnuTLS??

My code is as below:
curl_easy_setopt(Config->hHandle->curl, CURLOPT_SSL_CTX_FUNCTION, 
*SSLCallBackFunction);  which returns CURLE_NOT_BUILT_IN error for gnuTLS in 
LINUX.

SSLCallBackFunction is a function which I defined. In SSLCallBackFunction, we 
load Client Certificate, Key and Server CA Certificate in to SSL 
context(SSL_CTX_DATA) and function in to SSL_CTX_FUNCTION

Thanks and Regards,
SWAMY J S


-----Original Message-----
From: Daniel Stenberg [mailto:dan...@haxx.se] 
Sent: Thursday, October 25, 2018 12:13 PM
To: Swamy J-S via curl-library <curl-library@cool.haxx.se>
Cc: Swamy J-S <swamy....@in.abb.com>
Subject: Re: Alternate for CURLOPT_SSL_CTX_FUNCTION in gnuTLS

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On Thu, 25 Oct 2018, Swamy J-S via curl-library wrote:

> As this CURL option is not supported in gnuTLS am getting 
> CURLE_NOT_BUILT_IN error.
>
> Is there any alternate option available for "CURLOPT_SSL_CTX_FUNCTION" 
> in gnuTLS ? If not available how to proceed ??

For GnuTLS backend users, you simply have to stick to the other options libcurl 
provides. Or work on implementing CURLOPT_SSL_CTX_FUNCTION for GnuTLS as well!

--

  / daniel.haxx.se

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to