aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/microhttpd/daemon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index f719463e..b528622d 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5098,14 +5098,16 @@ parse_options_va (struct MHD_Daemon *daemon,
5098 return MHD_NO; 5098 return MHD_NO;
5099 break; 5099 break;
5100 /* all options taking 'enum' */ 5100 /* all options taking 'enum' */
5101#ifdef HTTPS_SUPPORT
5101 case MHD_OPTION_HTTPS_CRED_TYPE: 5102 case MHD_OPTION_HTTPS_CRED_TYPE:
5102 if (MHD_YES != parse_options (daemon, 5103 if (MHD_YES != parse_options (daemon,
5103 servaddr, 5104 servaddr,
5104 opt, 5105 opt,
5105 (int) oa[i].value, 5106 (gnutls_credentials_type_t) oa[i].value,
5106 MHD_OPTION_END)) 5107 MHD_OPTION_END))
5107 return MHD_NO; 5108 return MHD_NO;
5108 break; 5109 break;
5110#endif /* HTTPS_SUPPORT */
5109 /* all options taking 'MHD_socket' */ 5111 /* all options taking 'MHD_socket' */
5110 case MHD_OPTION_LISTEN_SOCKET: 5112 case MHD_OPTION_LISTEN_SOCKET:
5111 if (MHD_YES != parse_options (daemon, 5113 if (MHD_YES != parse_options (daemon,