summaryrefslogtreecommitdiff
path: root/src/exim_monitor/em_globals.c
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-04-29 21:02:27 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2012-06-04 14:57:02 +0100
commit817d9f576cdfbc27cf0536be348645baf27d7836 (patch)
treee02ac36ec7bbf67d67a66d799b31140a162c4784 /src/exim_monitor/em_globals.c
parent528fde2aff25fbe284332ad2ec4b8cb5fc8c7859 (diff)
Dual-tls - split management of TLS into in- and out-bound connection-handling.
Enables concurrent use from a single process, and thereby use for cutthrough delivery. As a side-effect EHLO and TLS use for verify callouts introduced. This was a manual import from elsewhere and is known to fail the test-suite.
Diffstat (limited to 'src/exim_monitor/em_globals.c')
-rw-r--r--src/exim_monitor/em_globals.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/exim_monitor/em_globals.c b/src/exim_monitor/em_globals.c
index 816d42d05..366af7e97 100644
--- a/src/exim_monitor/em_globals.c
+++ b/src/exim_monitor/em_globals.c
@@ -211,12 +211,15 @@ int string_datestamp_length= 0;
int string_datestamp_type = -1;
BOOL timestamps_utc = FALSE;
-BOOL tls_certificate_verified = FALSE;
-uschar *tls_cipher = NULL;
-uschar *tls_peerdn = NULL;
-#ifdef SUPPORT_TLS
-uschar *tls_sni = NULL;
-#endif
+tls_support tls_in = {
+ -1, /* tls_active */
+ FALSE, /* tls_certificate_verified */
+ NULL, /* tls_cipher */
+ FALSE, /* tls_on_connect */
+ NULL, /* tls_on_connect_ports */
+ NULL, /* tls_peerdn */
+ NULL /* tls_sni */
+};
tree_node *tree_duplicates = NULL;
tree_node *tree_nonrecipients = NULL;