Print warning to log when SSL setup fails

parent 900e0d68
......@@ -3046,6 +3046,7 @@ static void init_ssl()
DBUG_PRINT("info",("ssl_acceptor_fd: 0x%lx", (long) ssl_acceptor_fd));
if (!ssl_acceptor_fd)
{
sql_print_warning("Failed to setup SSL");
opt_use_ssl = 0;
have_ssl= SHOW_OPTION_DISABLED;
}
......
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