commit f7ab8b59a30cbd3c4e1b09906df2d4ffdff0472e
parent 30477aab575651b6161cd7267e5722bf1cad4d03
Author: silvioprog <silvioprog@gmail.com>
Date: Tue, 9 Oct 2018 01:58:33 -0300
improve comments, cosmetic
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git 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
@@ -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.