curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Usage of CURLINFO_CAINFO

From: Mac-Fly via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 30 May 2022 07:45:37 +0200

Oh really? Well, what an unexpected coincidence. :-)
Thank you for clarification! I'll wait until the next release then...

Morten.

----- Original Message -----
From: Dan Fandrich via curl-users <curl-users_at_lists.haxx.se>
To: curl-users_at_lists.haxx.se
Cc: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 29 May 2022 11:45:52 -0700
Subject: Re: Usage of CURLINFO_CAINFO

> On Sun, May 29, 2022 at 05:17:47PM +0200, Mac-Fly via curl-users wrote:
> > I want to derive the CA_INFO default value using libcurl v7.83.1 on Windows 10 as described here:
> > https://curl.se/libcurl/c/curl_easy_getinfo.html
> > ...with this snippet:
> >
> > char* ca_info;
> > CURLcode cc = curl_easy_getinfo(curl, CURLINFO_CAINFO, &ca_info);
> >
> > However, at compile time I receive:
> > error: 'CURLINFO_CAINFO' was not declared in this scope; did you mean 'CURLINFO_CERTINFO'?
> >
> > Additionally, this referred page:
> > https://curl.se/libcurl/c/CURLINFO_CAINFO.html
> > ...delivers "Resource is gone".
> > What am I missing?
>
> This feature was just added a few days ago. It hasn't propagated everywhere
> yet, including into a release.
>
> Dan
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-30