diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-12-29 19:49:54 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-12-29 19:49:54 +0000 |
commit | bfe645c1570343d3adca657ab67998e122ca8792 (patch) | |
tree | bbf8b32a1ba0eb70cf9adfb1539af7915d8aa17b /test/scripts/2000-GnuTLS | |
parent | a466d09b249d5018ecb0f1ec45adba545c02c75b (diff) |
update to pre-4.87 master
Diffstat (limited to 'test/scripts/2000-GnuTLS')
-rw-r--r-- | test/scripts/2000-GnuTLS/2000 | 2 | ||||
-rw-r--r-- | test/scripts/2000-GnuTLS/2018 | 2 | ||||
-rw-r--r-- | test/scripts/2000-GnuTLS/2033 | 20 |
3 files changed, 22 insertions, 2 deletions
diff --git a/test/scripts/2000-GnuTLS/2000 b/test/scripts/2000-GnuTLS/2000 index c8dcb6a84..a1299e574 100644 --- a/test/scripts/2000-GnuTLS/2000 +++ b/test/scripts/2000-GnuTLS/2000 @@ -1,7 +1,7 @@ # TLS client: TLS setup fails - retry in clear # # For this first GnuTLS test, we do not obey "gnutls", so that Exim has to -# create the GnuTLS paramter data for itself. +# create the GnuTLS parameter data for itself. # echo ==> Creating GnuTLS parameter data ... exim -DSERVER=server -bd -oX PORT_D diff --git a/test/scripts/2000-GnuTLS/2018 b/test/scripts/2000-GnuTLS/2018 index ac6049fd8..3f06e59e8 100644 --- a/test/scripts/2000-GnuTLS/2018 +++ b/test/scripts/2000-GnuTLS/2018 @@ -1,4 +1,4 @@ -# TLS: ACL encryption test +# TLS ACL encryption test gnutls exim -DSERVER=server -bd -oX PORT_D **** diff --git a/test/scripts/2000-GnuTLS/2033 b/test/scripts/2000-GnuTLS/2033 new file mode 100644 index 000000000..f43d18de4 --- /dev/null +++ b/test/scripts/2000-GnuTLS/2033 @@ -0,0 +1,20 @@ +# TLS client: verify certificate from server - name-fails +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** +# this will fail to verify the cert name and fallback to unencrypted +exim userr@test.ex +Testing +**** +# this will pass the cert verify including name check +exim users@test.ex +Testing +**** +# this will fail to verify the cert name but carry on (try-verify mode) +exim usert@test.ex +Testing +**** +exim -qf +**** +killdaemon +no_msglog_check |