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