]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master, master: Remove MASTER_SERVICE_FLAG_DISABLE_SSL_SET
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 9 Jan 2023 16:49:58 +0000 (18:49 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 27 Jan 2023 13:01:47 +0000 (13:01 +0000)
This is no longer necessary now that settings are passed via fd.

src/lib-master/master-service.h
src/master/main.c

index a6e1b6f825be5b972111208ffdc50930e527bd49..4d94bd12447aa7f521237fbe8082222acdf9e8d4 100644 (file)
@@ -30,12 +30,6 @@ enum master_service_flags {
        /* Show number of connections in process title
           (only if verbose_proctitle setting is enabled) */
        MASTER_SERVICE_FLAG_UPDATE_PROCTITLE    = 0x100,
-       /* Don't read any SSL settings. This is mainly needed to prevent master
-          process from trying to pass through huge list of SSL CA certificates
-          through environment for ssl_ca setting, which could fail. Although
-          the same problem can still happen with standalone doveadm if it
-          reads settings via doveconf instead of config socket. */
-       MASTER_SERVICE_FLAG_DISABLE_SSL_SET     = 0x200,
        /* Don't initialize SSL context automatically. */
        MASTER_SERVICE_FLAG_NO_SSL_INIT         = 0x400,
        /* Don't create a data stack frame between master_service_init() and
index 37f1f9eb3f6f59d9cf2388e416b80a73324e2b55..0cfd1734c6af03a12d5d5982842f8cc20c9fddf1 100644 (file)
@@ -809,8 +809,7 @@ int main(int argc, char *argv[])
                                MASTER_SERVICE_FLAG_STANDALONE |
                                MASTER_SERVICE_FLAG_DONT_SEND_STATS |
                                MASTER_SERVICE_FLAG_DONT_LOG_TO_STDERR |
-                               MASTER_SERVICE_FLAG_NO_INIT_DATASTACK_FRAME |
-                               MASTER_SERVICE_FLAG_DISABLE_SSL_SET,
+                               MASTER_SERVICE_FLAG_NO_INIT_DATASTACK_FRAME,
                                &argc, &argv, "+Fanp");
        i_unset_failure_prefix();