Start using the key_share data to derive the PMS
[openssl.git] / test / ssl-tests / 17-renegotiate.conf.in
1 # -*- mode: perl; -*-
2 # Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
3 #
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
8
9
10 ## Test Renegotiation
11
12 use strict;
13 use warnings;
14
15 package ssltests;
16
17
18 our @tests = (
19     {
20         name => "renegotiate-client-no-resume",
21         server => {
22             "Options" => "NoResumptionOnRenegotiation",
23             "MaxProtocol" => "TLSv1.2"
24         },
25         client => {},
26         test => {
27             "Method" => "TLS",
28             "HandshakeMode" => "RenegotiateClient",
29             "ResumptionExpected" => "No",
30             "ExpectedResult" => "Success"
31         }
32     },
33     {
34         name => "renegotiate-client-resume",
35         server => {
36             "MaxProtocol" => "TLSv1.2"
37         },
38         client => {},
39         test => {
40             "Method" => "TLS",
41             "HandshakeMode" => "RenegotiateClient",
42             "ResumptionExpected" => "Yes",
43             "ExpectedResult" => "Success"
44         }
45     },
46     {
47         name => "renegotiate-server-no-resume",
48         server => {
49             "Options" => "NoResumptionOnRenegotiation",
50             "MaxProtocol" => "TLSv1.2"
51         },
52         client => {},
53         test => {
54             "Method" => "TLS",
55             "HandshakeMode" => "RenegotiateServer",
56             "ResumptionExpected" => "No",
57             "ExpectedResult" => "Success"
58         }
59     },
60     {
61         name => "renegotiate-server-resume",
62         server => {
63             "MaxProtocol" => "TLSv1.2"
64         },
65         client => {},
66         test => {
67             "Method" => "TLS",
68             "HandshakeMode" => "RenegotiateServer",
69             "ResumptionExpected" => "Yes",
70             "ExpectedResult" => "Success"
71         }
72     },
73 );