linuxcurlgnutls

Alternate for CURLOPT_SSL_CTX_FUNCTION in gnuTLS


I am using CURLOPT_SSL_CTX_FUNCTION in my program and gnuTLS as backend SSL in Linux.

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 ??


Solution

  • There is no alternative option for this in libcurl. This feature has not been implemented for the GnuTLS backend.

    The curl project welcome patches that changes this situation!