diff options
author | silvioprog <silvioprog@gmail.com> | 2018-12-06 02:13:37 -0300 |
---|---|---|
committer | silvioprog <silvioprog@gmail.com> | 2018-12-06 02:13:37 -0300 |
commit | 53674dcdfba0ade96b50672a709edae1eae0323a (patch) | |
tree | 84c4e85106239dfff339f647c7f6f07731bfa797 /src/examples/benchmark_https.c | |
parent | 79a8955bb61d62f6dc4fc93d2f05a08adf8596d5 (diff) | |
download | libmicrohttpd-53674dcdfba0ade96b50672a709edae1eae0323a.tar.gz libmicrohttpd-53674dcdfba0ade96b50672a709edae1eae0323a.zip |
Referenced the gnutls_load_file() function in the HTTPs examples.
Diffstat (limited to 'src/examples/benchmark_https.c')
-rw-r--r-- | src/examples/benchmark_https.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
204 | MHD_OPTION_URI_LOG_CALLBACK, &uri_logger_cb, NULL, | 204 | MHD_OPTION_URI_LOG_CALLBACK, &uri_logger_cb, NULL, |
205 | MHD_OPTION_NOTIFY_COMPLETED, &completed_callback, NULL, | 205 | MHD_OPTION_NOTIFY_COMPLETED, &completed_callback, NULL, |
206 | MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 1000, | 206 | MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 1000, |
207 | /* Optionally, the gnutls_load_file() can be used to | ||
208 | load the key and the certificate from file. */ | ||
207 | MHD_OPTION_HTTPS_MEM_KEY, srv_signed_key_pem, | 209 | MHD_OPTION_HTTPS_MEM_KEY, srv_signed_key_pem, |
208 | MHD_OPTION_HTTPS_MEM_CERT, srv_signed_cert_pem, | 210 | MHD_OPTION_HTTPS_MEM_CERT, srv_signed_cert_pem, |
209 | MHD_OPTION_END); | 211 | MHD_OPTION_END); |