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.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: