Referenced the gnutls_load_file() function in the HTTPs examples.

This commit is contained in:
silvioprog
2018-12-06 02:13:37 -03:00
parent 79a8955bb6
commit 53674dcdfb
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -204,6 +204,8 @@ main (int argc, char *const *argv)
MHD_OPTION_URI_LOG_CALLBACK, &uri_logger_cb, NULL,
MHD_OPTION_NOTIFY_COMPLETED, &completed_callback, NULL,
MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 1000,
/* Optionally, the gnutls_load_file() can be used to
load the key and the certificate from file. */
MHD_OPTION_HTTPS_MEM_KEY, srv_signed_key_pem,
MHD_OPTION_HTTPS_MEM_CERT, srv_signed_cert_pem,
MHD_OPTION_END);