summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index 1bd49a0d4..084fa8db2 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -4678,19 +4678,21 @@ if (f.daemon_listen || f.inetd_wait_mode || queue_interval > 0)
"mua_wrapper is set");
}
+# ifndef DISABLE_TLS
/* This also checks that the library linkage is working and we can call
routines in it, so call even if tls_require_ciphers is unset */
{
-#ifdef MEASURE_TIMING
+# ifdef MEASURE_TIMING
struct timeval t0, diff;
(void)gettimeofday(&t0, NULL);
-#endif
+# endif
if (!tls_dropprivs_validate_require_cipher(FALSE))
exit(1);
-#ifdef MEASURE_TIMING
+# ifdef MEASURE_TIMING
report_time_since(&t0, US"validate_ciphers (delta)");
-#endif
+# endif
}
+#endif
daemon_go();
}