Commit 43953782 authored by Sergey Lyubka's avatar Sergey Lyubka

Do not require SSL, fix for issue 20

parent 12e133a5
...@@ -4429,7 +4429,7 @@ struct mg_context *mg_start(mg_callback_t user_callback, void *user_data, ...@@ -4429,7 +4429,7 @@ struct mg_context *mg_start(mg_callback_t user_callback, void *user_data,
// be initialized before listening ports. UID must be set last. // be initialized before listening ports. UID must be set last.
if (!set_gpass_option(ctx) || if (!set_gpass_option(ctx) ||
#if !defined(NO_SSL) #if !defined(NO_SSL)
!set_ssl_option(ctx) || (ctx->config[SSL_CERTIFICATE] != NULL && !set_ssl_option(ctx)) ||
#endif #endif
!set_ports_option(ctx) || !set_ports_option(ctx) ||
#if !defined(_WIN32) #if !defined(_WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment