cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] gtls: add support for CURLOPT_CAPATH

From: Alessandro Ghedini <alessandro_at_ghedini.me>
Date: Sun, 8 Mar 2015 20:44:11 +0100

On Sun, Mar 08, 2015 at 08:38:10PM +0100, Alessandro Ghedini wrote:
> Hello,
>
> newer GnuTLS versions (>= 3.3.6) make it possible to use a directory instead of
> a certificate bundle like OpenSSL, so let's do it!
>
> There is a problem with the "have_curlssl_ca_path" define though, since in the
> case of GnuTLS it should be defined only with newer GnuTLS versions, but it's
> not possible to do it from gtls.h, so how to solve this? Should I convert that
> define to "bool Curl_XXX_ca_path(void)" functions?
>
> Anyway, see attached patch (which defines have_curlssl_ca_path unconditionally).

*Now* see the attached patch (this time for real!) -.-"

Cheers

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-03-08