From: Timo Sirainen Date: Tue, 21 Sep 2010 15:30:20 +0000 (+0100) Subject: ssl-params: Don't start it at startup if Dovecot is compiled without SSL support. X-Git-Tag: 2.0.4~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6261a540cb9346020aa0f87453d202a6c74f5754;p=thirdparty%2Fdovecot%2Fcore.git ssl-params: Don't start it at startup if Dovecot is compiled without SSL support. --- diff --git a/src/ssl-params/ssl-params-settings.c b/src/ssl-params/ssl-params-settings.c index 75d26d0a98..722d0fbc4c 100644 --- a/src/ssl-params/ssl-params-settings.c +++ b/src/ssl-params/ssl-params-settings.c @@ -26,7 +26,11 @@ static buffer_t ssl_params_unix_listeners_buf = { struct service_settings ssl_params_service_settings = { .name = "ssl-params", .protocol = "", +#ifdef HAVE_SSL .type = "startup", +#else + .type = "", +#endif .executable = "ssl-params", .user = "", .group = "",