gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: Referenced the gnutl


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Referenced the gnutls_load_file() function in the HTTPs examples.
Date: Thu, 06 Dec 2018 06:13:45 +0100

This is an automated email from the git hooks/post-receive script.

silvioprog pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 53674dcd Referenced the gnutls_load_file() function in the HTTPs 
examples.
53674dcd is described below

commit 53674dcdfba0ade96b50672a709edae1eae0323a
Author: silvioprog <address@hidden>
AuthorDate: Thu Dec 6 02:13:37 2018 -0300

    Referenced the gnutls_load_file() function in the HTTPs examples.
---
 ChangeLog                      | 3 +++
 src/examples/benchmark_https.c | 2 ++
 src/examples/demo_https.c      | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 7fc917d4..0f401a6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Thu Dec  6 02:11:15 -03 2018
+       Referenced the gnutls_load_file() function in the HTTPs examples. -SC
+
 Wed Dec  5 18:08:59 CET 2018
        Fix regression causing URLs to be unescaped twice. -CG
 
diff --git a/src/examples/benchmark_https.c b/src/examples/benchmark_https.c
index c19f0be8..64eb11b7 100644
--- a/src/examples/benchmark_https.c
+++ b/src/examples/benchmark_https.c
@@ -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);
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c
index b2c67af9..14ca0bf7 100644
--- a/src/examples/demo_https.c
+++ b/src/examples/demo_https.c
@@ -972,6 +972,8 @@ main (int argc, char *const *argv)
                        MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) (120 /* 
seconds */),
                        MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 
NUMBER_OF_THREADS,
                        MHD_OPTION_NOTIFY_COMPLETED, 
&response_completed_callback, NULL,
+                       /* 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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]