From e91ad4a760cbf58e1f455d2ba226d80aa6c2da05 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 10 Sep 2014 14:26:58 +0100 Subject: Fix undersized buffer use by eximon. Bug 1527 The long spoolfile line now used for certificate info was too big, resulting in an apparent syntax error in the file. Apart from using a decent size, do autogrow in case of immense certificates. --- src/exim_monitor/em_globals.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/exim_monitor/em_globals.c') diff --git a/src/exim_monitor/em_globals.c b/src/exim_monitor/em_globals.c index 671bd7f03..918659d98 100644 --- a/src/exim_monitor/em_globals.c +++ b/src/exim_monitor/em_globals.c @@ -220,6 +220,10 @@ tls_support tls_in = { -1, /* tls_active */ 0, /* bits */ FALSE, /* tls_certificate_verified */ +#ifdef EXPERIMENTAL_DANE + FALSE, /* dane_verified */ + 0, /* tlsa_usage */ +#endif NULL, /* tls_cipher */ FALSE, /* tls_on_connect */ NULL, /* tls_on_connect_ports */ -- cgit v1.2.3