]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
ssl-params: Don't start it at startup if Dovecot is compiled without SSL support.
authorTimo Sirainen <tss@iki.fi>
Tue, 21 Sep 2010 15:30:20 +0000 (16:30 +0100)
committerTimo Sirainen <tss@iki.fi>
Tue, 21 Sep 2010 15:30:20 +0000 (16:30 +0100)
src/ssl-params/ssl-params-settings.c

index 75d26d0a9856a30ca4a7d184cb3d83a4a09011b6..722d0fbc4c574d537b5aac03c42a62c121ea8ab7 100644 (file)
@@ -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 = "",