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 (CAPATH is documented as NULL) so that they can be passed to the other library. But the "current" values would be better. The documentation doesn't list a way to get the values - though they do seem to show up in debug/verbose output. I'd like to default to Curl's built-in values because it does a good job of defaulting based on the build system; the others aren't quite as good. So: Am I missing an API call to get these? If not, perhaps curl_version_info() could provide? As a side note, in my search I noted that https://curl.haxx.se/libcurl/c/libcurl.html has a link to https://curl.haxx.se/libcurl/c/curl-config.html - which wins a 404... Thanks! -- Timothe Litt ACM Distinguished Engineer -------------------------- This communication may not represent the ACM or my employer's views, if any, on the matters discussed.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html