summaryrefslogtreecommitdiff
path: root/docs/examples/cacertinmem.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-18 10:17:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-18 10:17:02 +0200
commit26583a62ab8f29f672f91932b81c595f33c72b9f (patch)
treebf9af9c5287613e4f7322856f6d1d1958c96fe84 /docs/examples/cacertinmem.c
parentcf6ef2dc92b35d130fbe66d95fc3de3b50a62345 (diff)
downloadcurl-26583a62ab8f29f672f91932b81c595f33c72b9f.tar.gz
examples: add descriptions with <DESC>
Using this fixed format for example descriptions, we can generate a better list on the web site.
Diffstat (limited to 'docs/examples/cacertinmem.c')
-rw-r--r--docs/examples/cacertinmem.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/examples/cacertinmem.c b/docs/examples/cacertinmem.c
index 30a5153a8..67fd382b1 100644
--- a/docs/examples/cacertinmem.c
+++ b/docs/examples/cacertinmem.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -19,17 +19,11 @@
* KIND, either express or implied.
*
***************************************************************************/
-/* Example using a "in core" PEM certificate to retrieve a https page.
- * Written by Theo Borm
+/* <DESC>
+ * CA cert in memory with OpenSSL to get a HTTPS page.
+ * </DESC>
*/
-/* on a netBSD system with OPENSSL& LIBCURL installed from
- * pkgsrc (using default paths) this program can be compiled using:
- * gcc -I/usr/pkg/include -L/usr/pkg/lib -lcurl -Wl,-R/usr/pkg/lib -lssl
- * -lcrypto -lz -o curlcacerttest curlcacerttest.c
- * on other operating systems you may want to change paths to headers
- * and libraries
-*/
#include <openssl/ssl.h>
#include <curl/curl.h>
#include <stdio.h>