[patch] GNUTLS ne_ssl_trust_default_ca(): fixed segfault

Joe Orton joe at manyfish.co.uk
Mon Nov 29 04:53:34 EST 2010


On Thu, Nov 25, 2010 at 10:06:11AM +0100, Patrick Ohly wrote:
> Hello!
> 
> The commit message in the attached patch says it all...
> 
> Apps still need to have an 'if (scheme == "https")' in their code before
> calling ne_ssl_trust_default_ca() because they might be compiled and
> linked against an older neon lib, but perhaps one day this patch will be
> useful.

Thanks a lot for the patch, Patrick.

Although ne_ssl_trust_default_ca is not documented to work for non-SSL 
sessions, ne_ssl_trust_cert *is* documented that way, so I think it 
makes sense to fix the code and clarify the docs.

Regards, Joe



More information about the neon mailing list