ALPN: not supported under LibreSSL
[exim.git] / test / scripts / 2190-OpenSSL-ALPN / 2190
1 # TLS: ALPN: mandatory
2 #
3 # Plain server
4 exim -DSERVER=server -bd -oX PORT_D
5 ****
6 # Client requires ALPN (success)
7 exim -DCONTROL=smtp -DREQUIRE=y -odf client_require@test.ex
8 ****
9 killdaemon
10 #
11 # Server can be told to ignore (bad) ALPN from client
12 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
13 ****
14 # Client requires ALPN (fail)
15 exim -DCONTROL=http -DREQUIRE=y -odf client_require_fail@test.ex
16 ****
17 sudo rm -f DIR/spool/db/retry DIR/spool/input/*-D DIR/spool/input/*-H
18 killdaemon
19 #
20 #
21 # Server can be told ALPN mandatory
22 exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D
23 ****
24 # Client supplies ALPN, good
25 exim -DCONTROL=smtp -odf server_require_good@test.ex
26 ****
27 # Client does not supply ALPN, fails
28 exim -odf server_require_bad@test.ex
29 ****
30 killdaemon
31 #
32 no_msglog_check
33 no_stdout_check