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.

Usage of CURLINFO_CAINFO

From: Mac-Fly via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 29 May 2022 17:17:47 +0200

Hi all,

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?
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-29