summaryrefslogtreecommitdiff
path: root/test/scripts/5892-Resume-OpenSSL
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-04-15 10:36:56 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-04-15 11:22:04 +0100
commitec2a355fdc961aba7ace27c624c01accd58dc1ed (patch)
treef9641fcbe830c2c3c231fc833b7c9baded9bc4b3 /test/scripts/5892-Resume-OpenSSL
parentfa714063ea46ef6dd92dbef3525781d85513394b (diff)
TLS resumption: support Outlook hosts-behind-loadbalancer
Diffstat (limited to 'test/scripts/5892-Resume-OpenSSL')
-rw-r--r--test/scripts/5892-Resume-OpenSSL/589215
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scripts/5892-Resume-OpenSSL/5892 b/test/scripts/5892-Resume-OpenSSL/5892
index 1fdc7e949..814a27b6b 100644
--- a/test/scripts/5892-Resume-OpenSSL/5892
+++ b/test/scripts/5892-Resume-OpenSSL/5892
@@ -24,6 +24,7 @@ Test message.
exim -odf notreq@test.ex
Test message, not requesting resumption.
****
+#
sudo rm -f DIR/spool/db/tls*
exim -odf -DVALUE=resume noverify_getticket@test.ex
Dest on this means the server cert will not verify (but try_verify will permit it)
@@ -31,5 +32,19 @@ Dest on this means the server cert will not verify (but try_verify will permit i
exim -odf -DVALUE=resume noverify_resume@test.ex
Dest on this means the server cert will not verify (but try_verify will permit it)
****
+#
+# Test the host_name_extract transport option. Due to the change the second
+# message's connection should not offer a session. The third should (on the 2nd),
+# as should the fourth (on the 1st).
+sudo rm -f DIR/spool/db/tls*
+exim -DVALUE=resume -odf getticket@test.ex
+****
+exim -DVALUE=resume -DHELO_MSG=differenthost -odf noresume@test.ex
+****
+exim -DVALUE=resume -DHELO_MSG=differenthost -odf resume@test.ex
+****
+exim -DVALUE=resume -odf resume@test.ex
+****
+#
killdaemon
no_msglog_check