summaryrefslogtreecommitdiff
path: root/test/stdout/2114
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-10-14 15:22:32 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-10-14 15:28:31 +0100
commitce80533b305c56d57cb7ec1484491f191132cf84 (patch)
treed45885b6bbf29343b1753921d507d30afb7e9cb3 /test/stdout/2114
parent0abc5a137c8a0824aa3740b2cca8da407303f4fb (diff)
Testsuite: client script faciility for handling optional reponses
Use this to deal with fallout from TLS negotiation failure, where the server sees leftover encrypted data as garbage commands.
Diffstat (limited to 'test/stdout/2114')
-rw-r--r--test/stdout/211415
1 files changed, 15 insertions, 0 deletions
diff --git a/test/stdout/2114 b/test/stdout/2114
index c3fa9ce98..2a26dd128 100644
--- a/test/stdout/2114
+++ b/test/stdout/2114
@@ -21,6 +21,15 @@ Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
Attempting to start TLS
pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:[...]:SSL alert number 40
Failed to start TLS
+>>> noop
+??? 554 Security failure
+<<< 554 Security failure
+>>> quit
+????554 Security failure
+??? 221
+<<< 221 myhost.test.ex closing connection
+???*
+Expected EOF read
End of script
### No certificate, certificate optional at TLS time, required by ACL
Connecting to 127.0.0.1 port 1225 ... connected
@@ -153,6 +162,9 @@ Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net
Attempting to start TLS
pppp:error:dddddddd:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:[...]:SSL alert number 48
Failed to start TLS
+>>> noop
+??? 554 Security failure
+<<< 554 Security failure
End of script
### Bad certificate, certificate optional at TLS time, reject at ACL time
Connecting to 127.0.0.1 port 1225 ... connected
@@ -214,6 +226,9 @@ Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.c
Attempting to start TLS
pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert certificate revoked:[...]:SSL alert number 44
Failed to start TLS
+>>> noop
+??? 554 Security failure
+<<< 554 Security failure
End of script
### Revoked certificate, certificate optional at TLS time, reject at ACL time
Connecting to 127.0.0.1 port 1225 ... connected