libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit e3c9ecf80afce609d665de063da56ac25a3b60fd
parent b526badc92983e6536e1711a822aa5807978ca02
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 12 Feb 2015 15:01:25 +0000

daemon.c: fix building without HTTPS support

Diffstat:
Msrc/microhttpd/daemon.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -4076,9 +4076,12 @@ MHD_start_daemon_va (unsigned int flags, } } } +#if HTTPS_SUPPORT /* API promises to never use the password after initialization, so we additionally NULL it here to not deref a dangling pointer. */ daemon->https_key_password = NULL; +#endif /* HTTPS_SUPPORT */ + return daemon; thread_failed: