From 9d26b8c05f5308b474b560fa2a8a1046e2f5c1b6 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Mon, 21 May 2012 00:20:37 -0400 Subject: features.h; tls_validate_require_cipher: log flag & tests Pull in on Linux. Switch readconf log from D_all (bug) to D_tls (though D_any would have worked). Modified runtest to handle clamped DH bits and tls_validate_require_cipher added debug logging. --- src/OS/os.h-Linux | 7 +++++++ src/src/readconf.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux index eb7036d0f..5186ec89d 100644 --- a/src/OS/os.h-Linux +++ b/src/OS/os.h-Linux @@ -1,5 +1,12 @@ /* Exim: OS-specific C header file for Linux */ +/* Some weird variants may require invocation with C99 and features.h +inclusion to build, with the 64-bit arithmetic. Make compiler selection +their problem, but build anyway. */ + +#include + + #define CRYPT_H #define GLIBC_IP_OPTIONS #define HAVE_MMAP diff --git a/src/src/readconf.c b/src/src/readconf.c index 3235d4556..c3ffe4f82 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -2824,7 +2824,7 @@ do { rc = waitpid(pid, &status, 0); } while (rc < 0 && errno == EINTR); -DEBUG(D_all) +DEBUG(D_tls) debug_printf("tls_validate_require_cipher child %d ended: status=0x%x\n", (int)pid, status); -- cgit v1.2.3