cURL / Mailing Lists / curl-library / Single Mail


Re: documentation bug: wrong example reference for CURLOPT_SSL_CTX_FUNCTION

From: Daniel Stenberg <>
Date: Sun, 6 Mar 2016 16:54:48 +0100 (CET)

On Fri, 4 Mar 2016, Vadim Grinshpun wrote:

> I noticed that the documentation page
> has the following text (emphasis mine):
> For example, you can use this function to call library-specific
> callbacks to add additional validation code for certificates, and
> even to change the actual URI of a HTTPS request *(example used in
> the lib509 test case).*
> However, lib509.c is a test for custom memory allocators.
> I cannot find a testcase that matches the above statement, so not sure what
> the correct text should be.
> Hope someone knows what was intended there :)

Thanks, that's indeed incorrect and I'll fix that. The existing examples we
have that use CURLOPT_SSL_CTX_FUNCTION seem to be:

   curlx.c, cacertinmem.c and usercertinmem.c

List admin:
Received on 2016-03-06