xref: /freebsd/crypto/openssl/test/ssl-tests/29-dtls-sctp-label-bug.cnf (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 4
4
5test-0 = 0-SCTPLabelBug-good1
6test-1 = 1-SCTPLabelBug-good2
7test-2 = 2-SCTPLabelBug-bad1
8test-3 = 3-SCTPLabelBug-bad2
9# ===========================================================
10
11[0-SCTPLabelBug-good1]
12ssl_conf = 0-SCTPLabelBug-good1-ssl
13
14[0-SCTPLabelBug-good1-ssl]
15server = 0-SCTPLabelBug-good1-server
16client = 0-SCTPLabelBug-good1-client
17
18[0-SCTPLabelBug-good1-server]
19Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
20CipherString = DEFAULT
21PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
22
23[0-SCTPLabelBug-good1-client]
24CipherString = DEFAULT
25VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
26VerifyMode = Peer
27
28[test-0]
29EnableClientSCTPLabelBug = No
30EnableServerSCTPLabelBug = No
31ExpectedResult = Success
32Method = DTLS
33UseSCTP = Yes
34
35
36# ===========================================================
37
38[1-SCTPLabelBug-good2]
39ssl_conf = 1-SCTPLabelBug-good2-ssl
40
41[1-SCTPLabelBug-good2-ssl]
42server = 1-SCTPLabelBug-good2-server
43client = 1-SCTPLabelBug-good2-client
44
45[1-SCTPLabelBug-good2-server]
46Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
47CipherString = DEFAULT
48PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
49
50[1-SCTPLabelBug-good2-client]
51CipherString = DEFAULT
52VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
53VerifyMode = Peer
54
55[test-1]
56EnableClientSCTPLabelBug = Yes
57EnableServerSCTPLabelBug = Yes
58ExpectedResult = Success
59Method = DTLS
60UseSCTP = Yes
61
62
63# ===========================================================
64
65[2-SCTPLabelBug-bad1]
66ssl_conf = 2-SCTPLabelBug-bad1-ssl
67
68[2-SCTPLabelBug-bad1-ssl]
69server = 2-SCTPLabelBug-bad1-server
70client = 2-SCTPLabelBug-bad1-client
71
72[2-SCTPLabelBug-bad1-server]
73Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
74CipherString = DEFAULT
75PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76
77[2-SCTPLabelBug-bad1-client]
78CipherString = DEFAULT
79VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
80VerifyMode = Peer
81
82[test-2]
83EnableClientSCTPLabelBug = Yes
84EnableServerSCTPLabelBug = No
85ExpectedResult = ClientFail
86Method = DTLS
87UseSCTP = Yes
88
89
90# ===========================================================
91
92[3-SCTPLabelBug-bad2]
93ssl_conf = 3-SCTPLabelBug-bad2-ssl
94
95[3-SCTPLabelBug-bad2-ssl]
96server = 3-SCTPLabelBug-bad2-server
97client = 3-SCTPLabelBug-bad2-client
98
99[3-SCTPLabelBug-bad2-server]
100Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
101CipherString = DEFAULT
102PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
103
104[3-SCTPLabelBug-bad2-client]
105CipherString = DEFAULT
106VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
107VerifyMode = Peer
108
109[test-3]
110EnableClientSCTPLabelBug = No
111EnableServerSCTPLabelBug = Yes
112ExpectedResult = ClientFail
113Method = DTLS
114UseSCTP = Yes
115
116
117