Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / scripts / 2090-GnuTLS-ALPN / 2090
1 # TLS: ALPN: mandatory
2 # Separated from the OpenSSL equivalent as we deliberately send a Fatal Alert, and that gets logged by the receiver
3 # OpenSSL does not provides the facility.
4 gnutls
5 exim -DSERVER=server -bd -oX PORT_D
6 ****
7 # Client requires ALPN (success)
8 exim -DCONTROL=smtp -DREQUIRE=y -odf client_require@test.ex
9 ****
10 killdaemon
11 #
12 # Server can be told to ignore (bad) ALPN from client
13 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
14 ****
15 # Client requires ALPN (fail)
16 exim -DCONTROL=http -DREQUIRE=y -odf client_require_fail@test.ex
17 ****
18 sudo rm -f DIR/spool/db/retry* DIR/spool/input/*-D DIR/spool/input/*-H
19 killdaemon
20 #
21 #
22 # Server can be told ALPN mandatory
23 exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D
24 ****
25 # Client supplies ALPN, good
26 exim -DCONTROL=smtp -odf server_require_good@test.ex
27 ****
28 # Client does not supply ALPN, fails
29 exim -odf server_require_bad@test.ex
30 ****
31 killdaemon
32 #
33 no_msglog_check
34 no_stdout_check