silvioprog 7 лет назад
Родитель
Сommit
f7ab8b59a3
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      src/examples/demo_https.c
  2. 1 1
      src/examples/https_fileserver_example.c

+ 2 - 0
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"

+ 1 - 1
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.