curl-library
[PATCH] gtls: add support for CURLOPT_CAPATH
From: Alessandro Ghedini <alessandro_at_ghedini.me>
Date: Sun, 8 Mar 2015 20:38:10 +0100
Received on 2015-03-08
Date: Sun, 8 Mar 2015 20:38:10 +0100
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).
Cheers
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/pgp-signature attachment: Digital signature