2 # Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the OpenSSL license (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
17 my $dir_sep = $^O ne "VMS" ? "/" : "";
21 name => "renegotiate-client-no-resume",
23 "Options" => "NoResumptionOnRenegotiation",
24 "MaxProtocol" => "TLSv1.2"
29 "HandshakeMode" => "RenegotiateClient",
30 "ResumptionExpected" => "No",
31 "ExpectedResult" => "Success"
35 name => "renegotiate-client-resume",
37 "MaxProtocol" => "TLSv1.2"
42 "HandshakeMode" => "RenegotiateClient",
43 "ResumptionExpected" => "Yes",
44 "ExpectedResult" => "Success"
48 name => "renegotiate-server-no-resume",
50 "Options" => "NoResumptionOnRenegotiation",
51 "MaxProtocol" => "TLSv1.2"
56 "HandshakeMode" => "RenegotiateServer",
57 "ResumptionExpected" => "No",
58 "ExpectedResult" => "Success"
62 name => "renegotiate-server-resume",
64 "MaxProtocol" => "TLSv1.2"
69 "HandshakeMode" => "RenegotiateServer",
70 "ResumptionExpected" => "Yes",
71 "ExpectedResult" => "Success"
75 name => "renegotiate-client-auth-require",
77 "Options" => "NoResumptionOnRenegotiation",
78 "MaxProtocol" => "TLSv1.2",
79 "VerifyCAFile" => "\${ENV::TEST_CERTS_DIR}${dir_sep}root-cert.pem",
80 "VerifyMode" => "Require",
83 "Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}ee-client-chain.pem",
84 "PrivateKey" => "\${ENV::TEST_CERTS_DIR}${dir_sep}ee-key.pem"
88 "HandshakeMode" => "RenegotiateServer",
89 "ResumptionExpected" => "No",
90 "ExpectedResult" => "Success"
94 name => "renegotiate-client-auth-once",
96 "Options" => "NoResumptionOnRenegotiation",
97 "MaxProtocol" => "TLSv1.2",
98 "VerifyCAFile" => "\${ENV::TEST_CERTS_DIR}${dir_sep}root-cert.pem",
99 "VerifyMode" => "Once",
102 "Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}ee-client-chain.pem",
103 "PrivateKey" => "\${ENV::TEST_CERTS_DIR}${dir_sep}ee-key.pem"
107 "HandshakeMode" => "RenegotiateServer",
108 "ResumptionExpected" => "No",
109 "ExpectedResult" => "Success"
113 name => "renegotiate-aead-to-non-aead",
115 "Options" => "NoResumptionOnRenegotiation",
116 "MaxProtocol" => "TLSv1.2"
119 "CipherString" => "AES128-GCM-SHA256",
121 "RenegotiateCiphers" => "AES128-SHA"
126 "HandshakeMode" => "RenegotiateClient",
127 "ResumptionExpected" => "No",
128 "ExpectedResult" => "Success"
132 name => "renegotiate-non-aead-to-aead",
134 "Options" => "NoResumptionOnRenegotiation",
135 "MaxProtocol" => "TLSv1.2"
138 "CipherString" => "AES128-SHA",
140 "RenegotiateCiphers" => "AES128-GCM-SHA256"
145 "HandshakeMode" => "RenegotiateClient",
146 "ResumptionExpected" => "No",
147 "ExpectedResult" => "Success"
151 name => "renegotiate-non-aead-to-non-aead",
153 "Options" => "NoResumptionOnRenegotiation",
154 "MaxProtocol" => "TLSv1.2"
157 "CipherString" => "AES128-SHA",
159 "RenegotiateCiphers" => "AES256-SHA"
164 "HandshakeMode" => "RenegotiateClient",
165 "ResumptionExpected" => "No",
166 "ExpectedResult" => "Success"
170 name => "renegotiate-aead-to-aead",
172 "Options" => "NoResumptionOnRenegotiation",
173 "MaxProtocol" => "TLSv1.2"
176 "CipherString" => "AES128-GCM-SHA256",
178 "RenegotiateCiphers" => "AES256-GCM-SHA384"
183 "HandshakeMode" => "RenegotiateClient",
184 "ResumptionExpected" => "No",
185 "ExpectedResult" => "Success"