From ece23f05d6a430a461a75639197271c23f6858ec Mon Sep 17 00:00:00 2001 From: Jasen Betts Date: Fri, 30 Sep 2022 13:49:41 +0100 Subject: GnuTLS: fix for clients offering no TLS extensions --- test/confs/2091 | 1 + test/log/2091 | 3 +++ test/scripts/2090-GnuTLS-ALPN/2091 | 19 +++++++++++++++++++ test/stdout/2091 | 21 +++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 120000 test/confs/2091 create mode 100644 test/log/2091 create mode 100644 test/scripts/2090-GnuTLS-ALPN/2091 create mode 100644 test/stdout/2091 (limited to 'test') diff --git a/test/confs/2091 b/test/confs/2091 new file mode 120000 index 000000000..9aba31b86 --- /dev/null +++ b/test/confs/2091 @@ -0,0 +1 @@ +2090 \ No newline at end of file diff --git a/test/log/2091 b/test/log/2091 new file mode 100644 index 000000000..61b05e67f --- /dev/null +++ b/test/log/2091 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=p1234, no queue runs, listening for SMTP on port PORT_D 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 diff --git a/test/stdout/2091 b/test/stdout/2091 new file mode 100644 index 000000000..fbddb3578 --- /dev/null +++ b/test/stdout/2091 @@ -0,0 +1,21 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> EHLO IOTtester +??? 250- +<<< 250-myhost.test.ex Hello IOTtester [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-PIPELINING +<<< 250-PIPELINING +??? 250-STARTTLS +<<< 250-STARTTLS +??? 250 HELP +<<< 250 HELP +>>> STARTTLS +??? 220 +<<< 220 TLS go ahead +>>> \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 +End of script -- cgit v1.2.3