]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - test/scripts/2100-OpenSSL/2102
Testsuite: more tidying for Alpine
[user/henk/code/exim.git] / test / scripts / 2100-OpenSSL / 2102
index e9fdbfdcaee79e60e6c6a271740fead3ea87aa10..9a9f4d7bd2d071211ebb7b09e14b9578c952e125 100644 (file)
@@ -1,5 +1,15 @@
 # TLS server: general ops and certificate extractions
-exim -DSERVER=server -bd -oX PORT_D
+#
+# NOTE: OpenSSL libraries return faulty my-cert information prior to OpenSSL 1.1.1
+# when more than one cert is loaded, which the conf for this testcase does.
+# As a result the expansion done and logged is misleading.
+# While the golden log output is set to the misleading result, the testcase
+# would unfortunately fail on the fixed OpenSSL versions.  This has been bodged
+# by the addition of log/2102.openssl_1_1_1 and some detection coding in
+# runtest to force a "flavour".  This is fragile and bound to break in the future.
+#
+# Make RSA authentication the only acceptable
+exim -DSERVER=server -DORDER=RSA -bd -oX PORT_D
 ****
 client-ssl 127.0.0.1 PORT_D
 ??? 220
@@ -12,7 +22,7 @@ ehlo rhu.barb
 ??? 250
 starttls
 ??? 220
-mail from:<CALLER@test.ex>
+mail from:<a@test.ex>
 ??? 250
 rcpt to:<CALLER@test.ex>
 ??? 250
@@ -74,7 +84,7 @@ ehlo rhu.barb
 ??? 250
 starttls
 ??? 220
-mail from:<CALLER@test.ex>
+mail from:<b@test.ex>
 ??? 250
 rcpt to:<CALLER@test.ex>
 ??? 250
@@ -90,6 +100,8 @@ killdaemon
 #
 # make ECDSA authentication preferred
 # DEFAULT:+RSA should work but does not seem to
+# also, will fail under TLS1.3 because there is no choice of auth
+# - so we disable that in the conf
 exim -DSERVER=server -DORDER=ECDSA:RSA:!COMPLEMENTOFDEFAULT -bd -oX PORT_D
 ****
 client-ssl 127.0.0.1 PORT_D
@@ -103,7 +115,7 @@ ehlo rhu.barb
 ??? 250
 starttls
 ??? 220
-mail from:<CALLER@test.ex>
+mail from:<c@test.ex>
 ??? 250
 rcpt to:<CALLER@test.ex>
 ??? 250