[exim-cvs] Fix no-ssl build

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Fix no-ssl build
Gitweb: https://git.exim.org/exim.git/commitdiff/0d75f94545ea7bf93078f908b77c2b6cf57edc80
Commit:     0d75f94545ea7bf93078f908b77c2b6cf57edc80
Parent:     7ef88aa0c4c0608ee54ed2ff90b4b34c518d9bb5
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Oct 13 20:23:07 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Oct 13 20:23:07 2019 +0100


    Fix no-ssl build


    Broken-by: d85cdeb5e5
---
 src/src/exim.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index 1bd49a0..084fa8d 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();
}