aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2015-02-12 15:01:25 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2015-02-12 15:01:25 +0000
commite3c9ecf80afce609d665de063da56ac25a3b60fd (patch)
tree52d6e3c5742d93e9d855aa652990e14ad7b76a5e /src/microhttpd/daemon.c
parentb526badc92983e6536e1711a822aa5807978ca02 (diff)
downloadlibmicrohttpd-e3c9ecf80afce609d665de063da56ac25a3b60fd.tar.gz
libmicrohttpd-e3c9ecf80afce609d665de063da56ac25a3b60fd.zip
daemon.c: fix building without HTTPS support
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index ae9a984d..6b06c639 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4076,9 +4076,12 @@ MHD_start_daemon_va (unsigned int flags,
4076 } 4076 }
4077 } 4077 }
4078 } 4078 }
4079#if HTTPS_SUPPORT
4079 /* API promises to never use the password after initialization, 4080 /* API promises to never use the password after initialization,
4080 so we additionally NULL it here to not deref a dangling pointer. */ 4081 so we additionally NULL it here to not deref a dangling pointer. */
4081 daemon->https_key_password = NULL; 4082 daemon->https_key_password = NULL;
4083#endif /* HTTPS_SUPPORT */
4084
4082 return daemon; 4085 return daemon;
4083 4086
4084thread_failed: 4087thread_failed: