cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: default path for CURLOPT_CAINFO changed from 7.30.0 to 7.31.0

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 11 Jul 2013 19:52:09 +0200

On Thu, Jul 11, 2013 at 01:34:10PM -0400, Dave Reisner wrote:
> On Thu, Jul 11, 2013 at 10:16:08AM -0700, Chris Ghormley wrote:
> >
> > I am using libcurl cross-compiled for PPC and ARM with axTLS.
> >
> > I have never had to specify CURLOPT_CAINFO before 7.31.0; it seemed to
> > default to /etc/ssl/certs/ca-certificates.crt. Now I have had to specify
> > the location. Why the change?
>
> The default is whatever the value of --with-ca-bundle is set to at
> compile time. So, how are you compiling your curl library?
> Alternatively, 'curl-config --ca' should show you the path the lib was
> built with.

There's some path auto-detection that happens at configure time, but that's
disabled when cross-compiling. So, the default should be whatever you
set it to be in that case.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-11