]> jfr.im git - solanum.git/commitdiff
sslproc: don't send updated config to dead/shutdown sslds
authorSimon Arlott <sa.me.uk>
Fri, 29 Apr 2016 06:35:43 +0000 (07:35 +0100)
committerSimon Arlott <sa.me.uk>
Fri, 29 Apr 2016 06:35:43 +0000 (07:35 +0100)
They might be running older versions of the SSL library that
doesn't support the key type or ciphers being configured.

ircd/sslproc.c

index 4eba322cc78532676626f3a88e2796df2e0dce79..acd134d8367782585e2e0f55b2a80e7466fc2ab9 100644 (file)
@@ -772,6 +772,10 @@ ssld_update_config(void)
        RB_DLINK_FOREACH(ptr, ssl_daemons.head)
        {
                ssl_ctl_t *ctl = ptr->data;
+
+               if (ctl->dead || ctl->shutdown)
+                       continue;
+
                ssld_update_config_one(ctl);
        }
 }