Without this patch, ngIRCd ignores SSL-related messages and continues
to start up but only listens on plain text communication ports -- and
this most probably isn't what the administrator wanted ...
Closes bug #163.
/* Initialize the "main program": chroot environment, user and
* group ID, ... */
if (!NGIRCd_Init(NGIRCd_NoDaemon)) {
- Log(LOG_ALERT, "Fatal: Initialization failed");
+ Log(LOG_ALERT, "Fatal: Initialization failed, exiting!");
exit(1);
}
}
/* SSL initialization */
- if (!ConnSSL_InitLibrary())
- Log(LOG_WARNING,
- "Error during SSL initialization, continuing without SSL ...");
+ if (!ConnSSL_InitLibrary()) {
+ Log(LOG_ERR, "Error during SSL initialization!");
+ goto out;
+ }
/* Change root */
if (Conf_Chroot[0]) {