On Wed, 2011-11-02 at 10:50 +0100, Alain Knaff wrote:
On 02/11/11 10:08, Patrick Ohly wrote:
>> As far as I understand this distinction between CURLPOPT_CAINFO and
>> CURLPOPT_CAPATH is platform independent.
>
> The distinction is, but support for CAPATH isn't. With "platform" I
mean
> both the hardware and the OS on top of it, which includes whether
> libcurl uses OpenSSL or GnuTLS.
>
ok. So what happens with GnuTLS if you pass a directory with CURLPOPT_CAINFO?
Does GnuTLS interpret this as a directory which contains files with CA
certificates?
My guess is that it simply won't work because GnuTLS expects (and only
supports) a single file. I've never tried it, so I don't know what the
resulting error message is.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.