Skip to content
Snippets Groups Projects
Commit 62b866c2 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

If cryptInit() fails, just disable TLS support

But continue initializing/running for other non-TLS protocol support.
parent 0aa72717
No related branches found
No related tags found
No related merge requests found
Pipeline #5399 passed
......@@ -6179,8 +6179,7 @@ void mail_server(void* arg)
update_clients();
if(!ssl_sync(&scfg, lprintf)) {
lprintf(LOG_CRIT, "!ssl_sync() failure trying to enable TLS support");
cleanup(1);
return;
startup->options &= ~(MAIL_OPT_TLS_POP3 | MAIL_OPT_TLS_SUBMISSION);
}
/* open a socket and wait for a client */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment