cURL / Mailing Lists / curl-library / Single Mail


[PATCH] gtls: add support for CURLOPT_CAPATH

From: Alessandro Ghedini <>
Date: Sun, 8 Mar 2015 20:38:10 +0100


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).


List admin:

Received on 2015-03-08