From 29750ba54c20eea0afd4ca436ddc1325723ce93f Mon Sep 17 00:00:00 2001 From: Timo Sirainen <timo.sirainen@open-xchange.com> Date: Tue, 2 Nov 2021 09:54:08 -0400 Subject: [PATCH] managesieve: Use MASTER_SERVICE_FLAG_DISABLE_SSL_SET when dumping capability This prevents startup failures if ssl_ca has a large number of certificates. --- src/managesieve/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/managesieve/main.c b/src/managesieve/main.c index 9cfcdc819..340b7b6f9 100644 --- a/src/managesieve/main.c +++ b/src/managesieve/main.c @@ -313,8 +313,10 @@ int main(int argc, char *argv[]) } else { service_flags |= MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN; } - if (getenv("DUMP_CAPABILITY") != NULL) - service_flags |= MASTER_SERVICE_FLAG_DONT_SEND_STATS; + if (getenv("DUMP_CAPABILITY") != NULL) { + service_flags |= MASTER_SERVICE_FLAG_DONT_SEND_STATS | + MASTER_SERVICE_FLAG_DISABLE_SSL_SET; + } master_service = master_service_init("managesieve", service_flags, &argc, &argv, "t:u:"); -- GitLab