aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 35405f9f..8fb64410 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -6427,16 +6427,19 @@ parse_options_va (struct MHD_Daemon *daemon,
6427 if (MHD_OPTION_HTTPS_PRIORITIES == opt) 6427 if (MHD_OPTION_HTTPS_PRIORITIES == opt)
6428 { 6428 {
6429 int init_res; 6429 int init_res;
6430 const char *err_pos;
6430 init_res = gnutls_priority_init (&daemon->priority_cache, 6431 init_res = gnutls_priority_init (&daemon->priority_cache,
6431 pstr, 6432 pstr,
6432 NULL); 6433 &err_pos);
6433 if (GNUTLS_E_SUCCESS != init_res) 6434 if (GNUTLS_E_SUCCESS != init_res)
6434 { 6435 {
6435#ifdef HAVE_MESSAGES 6436#ifdef HAVE_MESSAGES
6436 MHD_DLOG (daemon, 6437 MHD_DLOG (daemon,
6437 _ ("Setting priorities to `%s' failed: %s\n"), 6438 _ ("Setting priorities to '%s' failed: %s " \
6439 "The problematic part starts at: %s\n"),
6438 pstr, 6440 pstr,
6439 gnutls_strerror (init_res)); 6441 gnutls_strerror (init_res),
6442 err_pos);
6440#endif 6443#endif
6441 daemon->priority_cache = NULL; 6444 daemon->priority_cache = NULL;
6442 return MHD_NO; 6445 return MHD_NO;