Get for CURLOPT_CAINFO, CURLOPT_CAPTH?

2020-03-22 Thread Timothe Litt via curl-library
I'm working on an application that both uses Curl and directly uses another library. I'd like consistency :-) I see the curl_easy_setopt items CURLOPT_CAINFO (root cert bundle) and CURLOPT_CAPATH (root cert directory). I'd like to be able to read them - particularly the default for CAINFO (CAPAT

Re: Get for CURLOPT_CAINFO, CURLOPT_CAPTH?

2020-03-23 Thread Timothe Litt via curl-library
On 23-Mar-20 05:22, Daniel Stenberg wrote: > On Sun, 22 Mar 2020, Timothe Litt via curl-library wrote: > >> I see the curl_easy_setopt items CURLOPT_CAINFO (root cert bundle) >> and CURLOPT_CAPATH (root cert directory). >> >> I'd like to be able to read

Re: Get for CURLOPT_CAINFO, CURLOPT_CAPTH?

2020-03-26 Thread Timothe Litt via curl-library
Thanks.  That looks good and will be very helpful. The man page for the curl command says that the command line version of curl pays attention to environment variables CURL_CA_BUNDLE (oddly, there's no mention of a CURL_CA_PATH variable...), and for windows searches for a ca-bundle.crt file.  Is

Re: Get for CURLOPT_CAINFO, CURLOPT_CAPTH?

2020-03-26 Thread Timothe Litt via curl-library
On 26-Mar-20 12:35, Daniel Stenberg wrote: > On Thu, 26 Mar 2020, Timothe Litt wrote: > >> The man page for the curl command says that the command line version >> of curl pays attention to environment variables CURL_CA_BUNDLE >> (oddly, there's no mention of a CURL_CA_PATH variable...) > > Why is

Re: Presentation: The state of curl 2020

2020-05-03 Thread Timothe Litt via curl-library
On 02-May-20 11:46, Daniel Stenberg wrote: > > I figure we need to arrange a groupvideo setup that can handle perhaps > 20+ attendees. If anyone already has that ability (which presumably > means an account at such a service as I can find any free service that > provides this reliably) and can be

Re: Presentation: The state of curl 2020

2020-05-05 Thread Timothe Litt via curl-library
On 05-May-20 04:53, Daniel Stenberg wrote: > On Sun, 3 May 2020, Timothe Litt wrote: > >> My town (and many other entities) is using Zoom successfully, though >> it has some well-publicized issues which wouldn't seem to apply to an >> open meeting. > > wolfSSL is sponsorsing this, and I'll setup a

Re: curl_easy_cmdline ?

2020-12-03 Thread Timothe Litt via curl-library
As others have pointed out, blurring the division between the command line tool and the library has significant architectural and practical disadvantages. I think there is a better approach.  Here is a rough outline. I suggest implementing some more generally useful functions: int curl_easy_

Re: curl_easy_cmdline ?

2021-03-25 Thread Timothe Litt via curl-library
I've been off-line, so this is a late reply.  Hopefully not too late. On 03-Dec-20 17:38, Daniel Stenberg wrote:On Thu, 3 Dec 2020, Timothe Litt via curl-library wrote: > > Thanks Timothe, you really took this further! > >>    int curl_easy_getopt(CURL *handle, CURLo