xref: /freebsd/crypto/openssl/test/ssl-tests/22-compression.cnf (revision a91a246563dffa876a52f53a98de4af9fa364c52)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 8
4
5test-0 = 0-tlsv1_3-both-compress
6test-1 = 1-tlsv1_3-client-compress
7test-2 = 2-tlsv1_3-server-compress
8test-3 = 3-tlsv1_3-neither-compress
9test-4 = 4-tlsv1_2-both-compress
10test-5 = 5-tlsv1_2-client-compress
11test-6 = 6-tlsv1_2-server-compress
12test-7 = 7-tlsv1_2-neither-compress
13# ===========================================================
14
15[0-tlsv1_3-both-compress]
16ssl_conf = 0-tlsv1_3-both-compress-ssl
17
18[0-tlsv1_3-both-compress-ssl]
19server = 0-tlsv1_3-both-compress-server
20client = 0-tlsv1_3-both-compress-client
21
22[0-tlsv1_3-both-compress-server]
23Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
24CipherString = DEFAULT
25Options = Compression
26PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
27
28[0-tlsv1_3-both-compress-client]
29CipherString = DEFAULT
30Options = Compression
31VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
32VerifyMode = Peer
33
34[test-0]
35CompressionExpected = No
36ExpectedResult = Success
37
38
39# ===========================================================
40
41[1-tlsv1_3-client-compress]
42ssl_conf = 1-tlsv1_3-client-compress-ssl
43
44[1-tlsv1_3-client-compress-ssl]
45server = 1-tlsv1_3-client-compress-server
46client = 1-tlsv1_3-client-compress-client
47
48[1-tlsv1_3-client-compress-server]
49Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
50CipherString = DEFAULT
51PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
52
53[1-tlsv1_3-client-compress-client]
54CipherString = DEFAULT
55Options = Compression
56VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
57VerifyMode = Peer
58
59[test-1]
60CompressionExpected = No
61ExpectedResult = Success
62
63
64# ===========================================================
65
66[2-tlsv1_3-server-compress]
67ssl_conf = 2-tlsv1_3-server-compress-ssl
68
69[2-tlsv1_3-server-compress-ssl]
70server = 2-tlsv1_3-server-compress-server
71client = 2-tlsv1_3-server-compress-client
72
73[2-tlsv1_3-server-compress-server]
74Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
75CipherString = DEFAULT
76Options = Compression
77PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
78
79[2-tlsv1_3-server-compress-client]
80CipherString = DEFAULT
81VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
82VerifyMode = Peer
83
84[test-2]
85CompressionExpected = No
86ExpectedResult = Success
87
88
89# ===========================================================
90
91[3-tlsv1_3-neither-compress]
92ssl_conf = 3-tlsv1_3-neither-compress-ssl
93
94[3-tlsv1_3-neither-compress-ssl]
95server = 3-tlsv1_3-neither-compress-server
96client = 3-tlsv1_3-neither-compress-client
97
98[3-tlsv1_3-neither-compress-server]
99Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
100CipherString = DEFAULT
101PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
102
103[3-tlsv1_3-neither-compress-client]
104CipherString = DEFAULT
105VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
106VerifyMode = Peer
107
108[test-3]
109CompressionExpected = No
110ExpectedResult = Success
111
112
113# ===========================================================
114
115[4-tlsv1_2-both-compress]
116ssl_conf = 4-tlsv1_2-both-compress-ssl
117
118[4-tlsv1_2-both-compress-ssl]
119server = 4-tlsv1_2-both-compress-server
120client = 4-tlsv1_2-both-compress-client
121
122[4-tlsv1_2-both-compress-server]
123Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
124CipherString = DEFAULT
125Options = Compression
126PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
127
128[4-tlsv1_2-both-compress-client]
129CipherString = DEFAULT
130MaxProtocol = TLSv1.2
131Options = Compression
132VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
133VerifyMode = Peer
134
135[test-4]
136CompressionExpected = Yes
137ExpectedResult = Success
138
139
140# ===========================================================
141
142[5-tlsv1_2-client-compress]
143ssl_conf = 5-tlsv1_2-client-compress-ssl
144
145[5-tlsv1_2-client-compress-ssl]
146server = 5-tlsv1_2-client-compress-server
147client = 5-tlsv1_2-client-compress-client
148
149[5-tlsv1_2-client-compress-server]
150Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
151CipherString = DEFAULT
152PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
153
154[5-tlsv1_2-client-compress-client]
155CipherString = DEFAULT
156MaxProtocol = TLSv1.2
157Options = Compression
158VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
159VerifyMode = Peer
160
161[test-5]
162CompressionExpected = No
163ExpectedResult = Success
164
165
166# ===========================================================
167
168[6-tlsv1_2-server-compress]
169ssl_conf = 6-tlsv1_2-server-compress-ssl
170
171[6-tlsv1_2-server-compress-ssl]
172server = 6-tlsv1_2-server-compress-server
173client = 6-tlsv1_2-server-compress-client
174
175[6-tlsv1_2-server-compress-server]
176Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
177CipherString = DEFAULT
178Options = Compression
179PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
180
181[6-tlsv1_2-server-compress-client]
182CipherString = DEFAULT
183MaxProtocol = TLSv1.2
184VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
185VerifyMode = Peer
186
187[test-6]
188CompressionExpected = No
189ExpectedResult = Success
190
191
192# ===========================================================
193
194[7-tlsv1_2-neither-compress]
195ssl_conf = 7-tlsv1_2-neither-compress-ssl
196
197[7-tlsv1_2-neither-compress-ssl]
198server = 7-tlsv1_2-neither-compress-server
199client = 7-tlsv1_2-neither-compress-client
200
201[7-tlsv1_2-neither-compress-server]
202Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
203CipherString = DEFAULT
204PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
205
206[7-tlsv1_2-neither-compress-client]
207CipherString = DEFAULT
208MaxProtocol = TLSv1.2
209VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
210VerifyMode = Peer
211
212[test-7]
213CompressionExpected = No
214ExpectedResult = Success
215
216
217