Skip to content

Commit

Permalink
Fix --disable-tls
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann committed Jul 11, 2024
1 parent 8dca49f commit ebeeebb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mod/webui.mod/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
*
*/

#include "src/mod/module.h"

#ifdef TLS
#define MODULE_NAME "webui"

#include <errno.h>
Expand All @@ -31,7 +34,7 @@
#include <sys/stat.h>
#include <openssl/sha.h>
#include "src/version.h"
#include "src/mod/module.h"


#define WS_GUID "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
#define WS_KEY "Sec-WebSocket-Key:"
Expand Down Expand Up @@ -478,6 +481,7 @@ static Function webui_table[] = {
NULL,
};

#endif
char *webui_start(Function *global_funcs)
{
#ifdef TLS
Expand Down

0 comments on commit ebeeebb

Please sign in to comment.