Testsuite: track newer GnuTLS behaviour
[exim.git] / test / scripts / 2000-GnuTLS / 2024
1 # TLS server: empty/non-existent certificate file
2 gnutls
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 #
7 # This one has a cert, but the server isn't expecting it.
8 # Earlier versions of GnuTLS would send it despite the server giving a list of acceptable ones, and the
9 # server would fail its verification.  Now the client correctly doesn't send it; the mainlog reflects
10 # this, the custom munge patches output with old GnuTLS (I hope; not actually tested).
11 munge gnutls_bad_clientcert
12 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
13 ??? 220
14 ehlo rhu.barb
15 ??? 250-
16 ??? 250-
17 ??? 250-
18 ??? 250-
19 ??? 250-
20 ??? 250
21 starttls
22 ??? 220
23 ****
24 killdaemon
25 #
26 # Here the server really doesn't have a cert
27 exim -DSERVER=server -DCERT=/non/exist -bd -oX PORT_D
28 ****
29 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
30 ??? 220
31 ehlo rhu.barb
32 ??? 250-
33 ??? 250-
34 ??? 250-
35 ??? 250-
36 ??? 250-
37 ??? 250
38 starttls
39 ??? 454
40 ****
41 killdaemon