aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/cacertinmem.c
AgeCommit message (Collapse)Author
2019-05-22examples: remove dead variable storesMarcel Raad
Closes https://github.com/curl/curl/pull/3919
2019-05-22examples: reduce variable scopesMarcel Raad
Closes https://github.com/curl/curl/pull/3919
2019-05-21examples: remove unused variablesMarcel Raad
Fixes Codacy/CppCheck warnings. Closes
2019-02-27cacertinmem.c: use multiple certificates for loading CA-chainDaVieS
Closes #3421
2018-05-21checksrc: make sure sizeof() is used *with* parenthesesDaniel Stenberg
... and unify the source code to adhere. Closes #2563
2017-12-26examples/cacertinmem: ignore cert-already-exists errorJay Satiro
- Ignore X509_R_CERT_ALREADY_IN_HASH_TABLE errors in the CTX callback since it's possible the cert may have already been loaded by libcurl. - Remove the EXAMPLE code in the CURLOPT_SSL_CTX_FUNCTION.3 doc. Instead have it direct the reader to this cacertinmem.c example. - Fix the CA certificate to use the right CA for example.com, Digicert. Bug: https://curl.haxx.se/mail/lib-2017-12/0057.html Reported-by: Thomas van Hesteren Closes https://github.com/curl/curl/pull/2182
2017-09-11code style: use spaces around equals signsDaniel Stenberg
2017-03-26spelling fixesklemens
Closes #1356
2016-11-24checksrc: code style: use 'char *name' styleDaniel Stenberg
2016-04-03docs/examples: remove spurious white spaces all overDaniel Stenberg
... to please the new, slightly picker, checksrc.pl
2016-02-11examples: adhere to curl code styleDaniel Stenberg
All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-06-18examples: add descriptions with <DESC>Daniel Stenberg
Using this fixed format for example descriptions, we can generate a better list on the web site.
2014-07-05Update instances of some obsolete CURLOPTs to their new namesDan Fandrich
2014-05-09cacertinmem: fix memory leakDaniel Stenberg
While "just" an example it still isn't nice to leak memory. Bug: http://curl.haxx.se/bug/view.cgi?id=1368 Fixed-by: Marko
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-10-05examples: use example.com in example URLsDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2005-08-24Theo Borm's example, as was posted here:Daniel Stenberg
http://curl.haxx.se/mail/lib-2005-08/0163.html