cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Location to curl-ca-bundle.crt

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 19 Nov 2006 23:48:16 +0100 (CET)

On Fri, 17 Nov 2006, Mohit Anchlia wrote:

> I am using libcurl on UNIX How can I dynmically change the location of
> curl-ca-bundle.crt file. Currently it's embedded within libcurl library. Now
> I want to move my .crt file to some other location. Is there any
> *environment variable* that I can use without having to change the code. I
> don't want to use easy_set_option as it's a shared/reusable code.

What? The dynamic way is to use the easy_set_option! Your app could easily
getenv() any environment variable or whatever you like, and use that to point
out the path.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-19