From 0df4ab80579544db421576d92e8a9b783edb1a58 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 13 Jul 2014 12:18:09 +0100 Subject: Fix TLS SNI, and add regression test cases --- test/scripts/2100-OpenSSL/2130 | 10 ++++++++++ test/scripts/2100-OpenSSL/2131 | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 test/scripts/2100-OpenSSL/2130 create mode 100644 test/scripts/2100-OpenSSL/2131 (limited to 'test/scripts/2100-OpenSSL') 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 -- cgit v1.2.3