Add compression tests
[openssl.git] / test / ssl-tests / 22-compression.conf
1 # Generated with generate_ssl_tests.pl
2
3 num_tests = 4
4
5 test-0 = 0-tlsv1_2-both-compress
6 test-1 = 1-tlsv1_2-client-compress
7 test-2 = 2-tlsv1_2-server-compress
8 test-3 = 3-tlsv1_2-neither-compress
9 # ===========================================================
10
11 [0-tlsv1_2-both-compress]
12 ssl_conf = 0-tlsv1_2-both-compress-ssl
13
14 [0-tlsv1_2-both-compress-ssl]
15 server = 0-tlsv1_2-both-compress-server
16 client = 0-tlsv1_2-both-compress-client
17
18 [0-tlsv1_2-both-compress-server]
19 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
20 CipherString = DEFAULT
21 Options = Compression
22 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
23
24 [0-tlsv1_2-both-compress-client]
25 CipherString = DEFAULT
26 MaxProtocol = TLSv1.2
27 Options = Compression
28 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
29 VerifyMode = Peer
30
31 [test-0]
32 CompressionExpected = Yes
33 ExpectedResult = Success
34
35
36 # ===========================================================
37
38 [1-tlsv1_2-client-compress]
39 ssl_conf = 1-tlsv1_2-client-compress-ssl
40
41 [1-tlsv1_2-client-compress-ssl]
42 server = 1-tlsv1_2-client-compress-server
43 client = 1-tlsv1_2-client-compress-client
44
45 [1-tlsv1_2-client-compress-server]
46 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
47 CipherString = DEFAULT
48 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
49
50 [1-tlsv1_2-client-compress-client]
51 CipherString = DEFAULT
52 MaxProtocol = TLSv1.2
53 Options = Compression
54 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
55 VerifyMode = Peer
56
57 [test-1]
58 CompressionExpected = No
59 ExpectedResult = Success
60
61
62 # ===========================================================
63
64 [2-tlsv1_2-server-compress]
65 ssl_conf = 2-tlsv1_2-server-compress-ssl
66
67 [2-tlsv1_2-server-compress-ssl]
68 server = 2-tlsv1_2-server-compress-server
69 client = 2-tlsv1_2-server-compress-client
70
71 [2-tlsv1_2-server-compress-server]
72 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
73 CipherString = DEFAULT
74 Options = Compression
75 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76
77 [2-tlsv1_2-server-compress-client]
78 CipherString = DEFAULT
79 MaxProtocol = TLSv1.2
80 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
81 VerifyMode = Peer
82
83 [test-2]
84 CompressionExpected = No
85 ExpectedResult = Success
86
87
88 # ===========================================================
89
90 [3-tlsv1_2-neither-compress]
91 ssl_conf = 3-tlsv1_2-neither-compress-ssl
92
93 [3-tlsv1_2-neither-compress-ssl]
94 server = 3-tlsv1_2-neither-compress-server
95 client = 3-tlsv1_2-neither-compress-client
96
97 [3-tlsv1_2-neither-compress-server]
98 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
99 CipherString = DEFAULT
100 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
101
102 [3-tlsv1_2-neither-compress-client]
103 CipherString = DEFAULT
104 MaxProtocol = TLSv1.2
105 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
106 VerifyMode = Peer
107
108 [test-3]
109 CompressionExpected = No
110 ExpectedResult = Success
111
112