Re: Building libcurl for multiple Linuxes / CA store

Scott Talbert via curl-library <[email protected]>
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
On Thu, 12 Dec 2024, Daniel Stenberg wrote:

>> Initially, I wasn't thinking it would be possible to do runtime CA bundle 
>> auto-detection in a way that's transparent to end users of pycurl, but 
>> after looking at how libcurl handles CURL_CA_BUNDLE (it seems to ultimately 
>> do what setting CURLOPT_CAINFO does), I think it should be fine for pycurl 
>> to set CURLOPT_CAINFO before handing over the handle to the end user.
>
> What code in libcurl does this in runtime? I can't find any such code. I 
> think you might look at code in the curl tool, which incidentally is an 
> application using libcurl... :-)

https://github.com/curl/curl/blob/master/lib/url.c#L438

Regards,
Scott
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.