]>
Commit | Line | Data |
---|---|---|
9b92f161 MC |
1 | # -*- mode: perl; -*- |
2 | # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. | |
3 | # | |
909f1a2e | 4 | # Licensed under the Apache License 2.0 (the "License"). You may not use |
9b92f161 MC |
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 KeyUpdate | |
11 | ||
12 | use strict; | |
13 | use warnings; | |
14 | ||
15 | package ssltests; | |
16 | ||
17 | our @tests = ( | |
18 | { | |
19 | name => "update-key-client-update-not-requested", | |
20 | server => {}, | |
21 | client => {}, | |
22 | test => { | |
23 | "HandshakeMode" => "KeyUpdateClient", | |
24 | "KeyUpdateType" => "KeyUpdateNotRequested", | |
25 | "ResumptionExpected" => "No", | |
26 | "ExpectedResult" => "Success" | |
27 | } | |
28 | }, | |
29 | { | |
30 | name => "update-key-server-update-not-requested", | |
31 | server => {}, | |
32 | client => {}, | |
33 | test => { | |
34 | "HandshakeMode" => "KeyUpdateServer", | |
35 | "KeyUpdateType" => "KeyUpdateNotRequested", | |
36 | "ResumptionExpected" => "No", | |
37 | "ExpectedResult" => "Success" | |
38 | } | |
39 | }, | |
40 | { | |
41 | name => "update-key-client-update-requested", | |
42 | server => {}, | |
43 | client => {}, | |
44 | test => { | |
45 | "HandshakeMode" => "KeyUpdateClient", | |
46 | "KeyUpdateType" => "KeyUpdateRequested", | |
47 | "ResumptionExpected" => "No", | |
48 | "ExpectedResult" => "Success" | |
49 | } | |
50 | }, | |
51 | { | |
52 | name => "update-key-server-update-requested", | |
53 | server => {}, | |
54 | client => {}, | |
55 | test => { | |
56 | "HandshakeMode" => "KeyUpdateServer", | |
57 | "KeyUpdateType" => "KeyUpdateRequested", | |
58 | "ResumptionExpected" => "No", | |
59 | "ExpectedResult" => "Success" | |
60 | } | |
61 | } | |
62 | ); |