cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: default location for ca-bundle.crt on windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Oct 2002 10:55:44 +0100 (MET)

On Wed, 23 Oct 2002, Roth, Kevin P. wrote:

> So, here's a tiny program that will find a given filename by looking in
> these folders, in order:
> 1. directory the executable is in
> 2. current working directory
> 3. Windows System Directory (e.g. C:\windows\system32)
> 4. Windows Directory (e.g. C:\windows)
> 5. %PATH%

[snip]

> Can this code be adjusted for proper use in curl and added, possibly along
> with the code for looking up that environment variable?

I think it would be good.

First check for the file like this (on windows only) and then check the
environment variable. I think the code for this should be left in the tool
code only, not adding this logic to the library.

You think you can write us a patch for this?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-28