13
0

Minor clarification of curl root CA comment

Left over from d069aa7a.
This commit is contained in:
Mads Kiilerich 2022-10-22 01:37:00 +02:00 committed by Robin Gareus
parent 847f4fc93f
commit a9e5876207
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -98,8 +98,8 @@ HttpGet::setup_certificate_paths ()
}
// else NULL: use default (currently) "/etc/ssl/certs/ca-certificates.crt" if it exists
/* If we don't set anything defaults are used. at the time of writing we compile bundled curl on debian
* and it'll default to /etc/ssl/certs and /etc/ssl/certs/ca-certificates.crt
/* If we don't set anything, defaults are used. At the time of writing we compile bundled curl on debian
* and it'll default to ca_path = /etc/ssl/certs and ca_info = /etc/ssl/certs/ca-certificates.crt .
* That works on Debian and derivs + openSUSE. It has historically not
* worked on RHEL / Fedora, but worst case the directory exists and doesn't
* prevent ca_info from working. https://bugzilla.redhat.com/show_bug.cgi?id=1053882