summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJasen Betts <jasen@xnet.co.nz>2022-09-30 13:49:41 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-09-30 13:56:12 +0100
commitece23f05d6a430a461a75639197271c23f6858ec (patch)
tree9d6a8f70f80bd6040b8b627fc70a008e0fe735f1 /test/scripts
parent8338ea45ce618ae72502c63aba5812155ca53052 (diff)
downloadexim4-ece23f05d6a430a461a75639197271c23f6858ec.tar.gz
GnuTLS: fix for clients offering no TLS extensions
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/2090-GnuTLS-ALPN/209119
1 files changed, 19 insertions, 0 deletions
diff --git a/test/scripts/2090-GnuTLS-ALPN/2091 b/test/scripts/2090-GnuTLS-ALPN/2091
new file mode 100644
index 000000000..de34a1a94
--- /dev/null
+++ b/test/scripts/2090-GnuTLS-ALPN/2091
@@ -0,0 +1,19 @@
+# TLS: ALPN: IOT client
+# Check server connection survives a TLS client offering no TLS extensions at all (including ALPN)
+gnutls
+exim -DSERVER=server -bd -oX PORT_D
+****
+client 127.0.0.1 PORT_D
+??? 220
+EHLO IOTtester
+??? 250-
+??? 250-SIZE
+??? 250-8BITMIME
+??? 250-PIPELINING
+??? 250-STARTTLS
+??? 250 HELP
+STARTTLS
+??? 220
+>>> \x16\x03\x00\x00\x43\x01\x00\x00\x3f\x03\x02\xff\xff\xff\xff\x92\x3e\x99\x88\xd0\x2b\x8f\xc2\x76\xbd\xcf\x02\xcc\xb6\xfc\x39\x00\xd0\x52\x82\x8c\x65\x0c\xcd\x8c\x02\x00\x40\x00\x00\x18\x00\x33\x00\x39\x00\x45\x00\x88\x00\x16\x00\x35\x00\x84\x00\x2f\x00\x41\x00\x0a\x00\x05\x00\x04\x01\x00
+****
+killdaemon