diff options
author | silvioprog <silvioprog@gmail.com> | 2018-10-09 01:58:33 -0300 |
---|---|---|
committer | silvioprog <silvioprog@gmail.com> | 2018-10-09 01:58:33 -0300 |
commit | f7ab8b59a30cbd3c4e1b09906df2d4ffdff0472e (patch) | |
tree | 858b80b2974bfe9413f46fb0dc171b1b08f40438 /src/examples | |
parent | 30477aab575651b6161cd7267e5722bf1cad4d03 (diff) | |
download | libmicrohttpd-f7ab8b59a30cbd3c4e1b09906df2d4ffdff0472e.tar.gz libmicrohttpd-f7ab8b59a30cbd3c4e1b09906df2d4ffdff0472e.zip |
improve comments, cosmetic
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/demo_https.c | 2 | ||||
-rw-r--r-- | src/examples/https_fileserver_example.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c index 067b4e1d..b2c67af9 100644 --- a/src/examples/demo_https.c +++ b/src/examples/demo_https.c | |||
@@ -27,6 +27,8 @@ | |||
27 | * run tests against. Note that the number of threads may need | 27 | * run tests against. Note that the number of threads may need |
28 | * to be adjusted depending on the number of available cores. | 28 | * to be adjusted depending on the number of available cores. |
29 | * Logic is identical to demo.c, just adds HTTPS support. | 29 | * Logic is identical to demo.c, just adds HTTPS support. |
30 | * This demonstration uses key/cert stored in static string. Optionally, | ||
31 | * use gnutls_load_file() to load them from file. | ||
30 | * @author Christian Grothoff | 32 | * @author Christian Grothoff |
31 | */ | 33 | */ |
32 | #include "platform.h" | 34 | #include "platform.h" |
diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c index e48a1502..7e3e6d43 100644 --- a/src/examples/https_fileserver_example.c +++ b/src/examples/https_fileserver_example.c | |||
@@ -24,7 +24,7 @@ | |||
24 | * | 24 | * |
25 | * 'http_fileserver_example HTTP-PORT SECONDS-TO-RUN' | 25 | * 'http_fileserver_example HTTP-PORT SECONDS-TO-RUN' |
26 | * | 26 | * |
27 | * The certificate & key are required by the server to operate, Omitting the | 27 | * The certificate & key are required by the server to operate, omitting the |
28 | * path arguments will cause the server to use the hard coded example certificate & key. | 28 | * path arguments will cause the server to use the hard coded example certificate & key. |
29 | * | 29 | * |
30 | * 'certtool' may be used to generate these if required. | 30 | * 'certtool' may be used to generate these if required. |