a0816177241fd102d89992bb3cfb222ff9f1b2d8
[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         },
24         client => {},
25         test => {
26             "Method" => "TLS",
27             "HandshakeMode" => "RenegotiateClient",
28             "ResumptionExpected" => "No",
29             "ExpectedResult" => "Success"
30         }
31     },
32     {
33         name => "renegotiate-client-resume",
34         server => {},
35         client => {},
36         test => {
37             "Method" => "TLS",
38             "HandshakeMode" => "RenegotiateClient",
39             "ResumptionExpected" => "Yes",
40             "ExpectedResult" => "Success"
41         }
42     },
43     {
44         name => "renegotiate-server-no-resume",
45         server => {
46             "Options" => "NoResumptionOnRenegotiation"
47         },
48         client => {},
49         test => {
50             "Method" => "TLS",
51             "HandshakeMode" => "RenegotiateServer",
52             "ResumptionExpected" => "No",
53             "ExpectedResult" => "Success"
54         }
55     },
56     {
57         name => "renegotiate-server-resume",
58         server => {},
59         client => {},
60         test => {
61             "Method" => "TLS",
62             "HandshakeMode" => "RenegotiateServer",
63             "ResumptionExpected" => "Yes",
64             "ExpectedResult" => "Success"
65         }
66     },
67 );