From f7ab8b59a30cbd3c4e1b09906df2d4ffdff0472e Mon Sep 17 00:00:00 2001 From: silvioprog Date: Tue, 9 Oct 2018 01:58:33 -0300 Subject: [PATCH] improve comments, cosmetic --- src/examples/demo_https.c | 2 ++ src/examples/https_fileserver_example.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@ * run tests against. Note that the number of threads may need * to be adjusted depending on the number of available cores. * Logic is identical to demo.c, just adds HTTPS support. + * This demonstration uses key/cert stored in static string. Optionally, + * use gnutls_load_file() to load them from file. * @author Christian Grothoff */ #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 @@ * * 'http_fileserver_example HTTP-PORT SECONDS-TO-RUN' * - * The certificate & key are required by the server to operate, Omitting the + * The certificate & key are required by the server to operate, omitting the * path arguments will cause the server to use the hard coded example certificate & key. * * 'certtool' may be used to generate these if required.