summaryrefslogtreecommitdiff
path: root/test/scripts/2100-OpenSSL
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-07-13 12:18:09 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-07-13 12:18:09 +0100
commit0df4ab80579544db421576d92e8a9b783edb1a58 (patch)
tree6c57f00d40e63168369b1cbb87a74be827617647 /test/scripts/2100-OpenSSL
parent4b57b15d12942aff5360105a71f9c1b9d9a4edaf (diff)
Fix TLS SNI, and add regression test cases
Diffstat (limited to 'test/scripts/2100-OpenSSL')
-rw-r--r--test/scripts/2100-OpenSSL/213010
-rw-r--r--test/scripts/2100-OpenSSL/213119
2 files changed, 29 insertions, 0 deletions
diff --git a/test/scripts/2100-OpenSSL/2130 b/test/scripts/2100-OpenSSL/2130
new file mode 100644
index 000000000..43695f648
--- /dev/null
+++ b/test/scripts/2100-OpenSSL/2130
@@ -0,0 +1,10 @@
+# TLS: SNI
+#
+exim -DSERVER=server -bd -oX PORT_D
+****
+# Basic: is SNI set on tpt seen by server
+exim CALLER@test.ex
+Test message.
+****
+millisleep 500
+killdaemon
diff --git a/test/scripts/2100-OpenSSL/2131 b/test/scripts/2100-OpenSSL/2131
new file mode 100644
index 000000000..74d3dbb49
--- /dev/null
+++ b/test/scripts/2100-OpenSSL/2131
@@ -0,0 +1,19 @@
+# TLS server: SNI used to select certificate
+#
+exim -DSERVER=server -bd -oX PORT_D
+****
+# Extended: certificate choice is unchanged by received SNI
+exim CALLER@test.ex
+Test message.
+****
+millisleep 500
+#
+#
+# Extended: server uses SNI to change certificate
+exim abcd@test.ex
+Test message.
+****
+millisleep 500
+#
+#
+killdaemon