summaryrefslogtreecommitdiff
path: root/test/scripts/5820-DANE-GnuTLS/5821
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-03-30 15:50:35 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-03-30 15:50:35 +0100
commitcf2600498039d312e564e9b58cb28691b3fd36e1 (patch)
treef89462998633916a729caa411d30a48202a86c32 /test/scripts/5820-DANE-GnuTLS/5821
parent5ec37a55162e10377e457fe1deef174093f757a8 (diff)
Testcases for dane_require_tls_ciphers
Diffstat (limited to 'test/scripts/5820-DANE-GnuTLS/5821')
-rw-r--r--test/scripts/5820-DANE-GnuTLS/582130
1 files changed, 30 insertions, 0 deletions
diff --git a/test/scripts/5820-DANE-GnuTLS/5821 b/test/scripts/5820-DANE-GnuTLS/5821
new file mode 100644
index 000000000..f4ea30564
--- /dev/null
+++ b/test/scripts/5820-DANE-GnuTLS/5821
@@ -0,0 +1,30 @@
+# DANE client: ciphers option
+#
+gnutls
+exim -DSERVER=server -bd -oX PORT_D
+****
+
+### Baseline, dane unused
+exim -odf CALLER@localhost.test.ex
+Testing
+****
+### Baseline, dane used
+exim -odf CALLER@dane256ee.test.ex
+Testing
+****
+#
+#
+### Dane cipher specified, dane unused
+# Since dane unused, should get the same cipher as the baseline
+exim -odf -DOPT=NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+CAMELLIA-256-GCM:+SIGN-ALL:+COMP-NULL CALLER@localhost.test.ex
+Testing
+****
+### Dane cipher specified, dane used
+# Should get the cipher specified here
+exim -odf -DOPT=NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+CAMELLIA-256-GCM:+SIGN-ALL:+COMP-NULL CALLER@dane256ee.test.ex
+Testing
+****
+#
+#
+killdaemon
+no_msglog_check