mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
daemon.c: fix building without HTTPS support
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user