summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2012-05-21 00:20:37 -0400
committerPhil Pennock <pdp@exim.org>2012-05-21 00:20:37 -0400
commit9d26b8c05f5308b474b560fa2a8a1046e2f5c1b6 (patch)
tree44575e953c03cb8815ca96a06b0c1f2fc5bc9f59 /src
parent1d7a353eb367991d8de63c32efa64f8224f3089f (diff)
features.h; tls_validate_require_cipher: log flag & testsexim-4_80_RC3
Pull in <features.h> 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.
Diffstat (limited to 'src')
-rw-r--r--src/OS/os.h-Linux7
-rw-r--r--src/src/readconf.c2
2 files changed, 8 insertions, 1 deletions
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 <features.h>
+
+
#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);