tidy-up: make 'CA' uppercase, where missing

```sh
git grep -w ca | grep -v -E -i 'ca[;"=/()%_.-]' | grep -v -E -i '[*$"=/()%_.-]ca'
```

Closes #22135
This commit is contained in:
Viktor Szakats 2026-06-22 15:52:23 +02:00
parent 5735540835
commit b0d0f16d20
No known key found for this signature in database
14 changed files with 25 additions and 25 deletions

View file

@ -204,16 +204,16 @@ world wide.
## Why do you not update ca-bundle.crt
In the curl project we have decided not to attempt to keep this file updated
(or even present) since deciding what to add to a ca cert bundle is an
(or even present) since deciding what to add to a CA cert bundle is an
undertaking we have not been ready to accept, and the one we can get from
Mozilla is perfectly fine so there is no need to duplicate that work.
Today, with many services performed over HTTPS, every operating system should
come with a default ca cert bundle that can be deemed somewhat trustworthy and
come with a default CA cert bundle that can be deemed somewhat trustworthy and
that collection (if reasonably updated) should be deemed to be a lot better
than a private curl version.
If you want the most recent collection of ca certs that Mozilla Firefox uses,
If you want the most recent collection of CA certs that Mozilla Firefox uses,
we recommend using our online [CA certificate
service](https://curl.se/docs/caextract.html) setup for this purpose.

View file

@ -591,7 +591,7 @@ Failing the verification causes curl to deny the connection. You must then
use [`--insecure`](https://curl.se/docs/manpage.html#-k) (`-k`) in case you
want to tell curl to ignore that the server cannot be verified.
More about server certificate verification and ca cert bundles can be read in
More about server certificate verification and CA cert bundles can be read in
the [`SSLCERTS` document](https://curl.se/docs/sslcerts.html).
At times you may end up with your own CA cert store and then you can tell

View file

@ -155,7 +155,7 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_CAINFO, NULL);
curl_easy_setopt(curl, CURLOPT_CAPATH, NULL);
/* first try: retrieve page without ca certificates -> should fail
/* first try: retrieve page without CA certificates -> should fail
* unless libcurl was built --with-ca-fallback enabled at build-time
*/
result = curl_easy_perform(curl);

View file

@ -1420,7 +1420,7 @@ to figure out success on each individual transfer.
# SSL, Certificates and Other Tricks
[ seeding, passwords, keys, certificates, ENGINE, ca certs ]
[ seeding, passwords, keys, certificates, ENGINE, CA certs ]
# Sharing Data Between Easy Handles

View file

@ -53,7 +53,7 @@ int main(void)
char *cainfo = NULL;
curl_easy_getinfo(curl, CURLINFO_CAINFO, &cainfo);
if(cainfo) {
printf("default ca info path: %s\n", cainfo);
printf("default CA info path: %s\n", cainfo);
}
curl_easy_cleanup(curl);
}

View file

@ -56,7 +56,7 @@ int main(void)
char *capath = NULL;
curl_easy_getinfo(curl, CURLINFO_CAPATH, &capath);
if(capath) {
printf("default ca path: %s\n", capath);
printf("default CA path: %s\n", capath);
}
curl_easy_cleanup(curl);
}