21-key-update.cnf.in revision 1.1 1 1.1 christos # -*- mode: perl; -*-
2 1.1 christos # Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
3 1.1 christos #
4 1.1 christos # Licensed under the Apache License 2.0 (the "License"). You may not use
5 1.1 christos # this file except in compliance with the License. You can obtain a copy
6 1.1 christos # in the file LICENSE in the source distribution or at
7 1.1 christos # https://www.openssl.org/source/license.html
8 1.1 christos
9 1.1 christos
10 1.1 christos ## Test KeyUpdate
11 1.1 christos
12 1.1 christos use strict;
13 1.1 christos use warnings;
14 1.1 christos
15 1.1 christos package ssltests;
16 1.1 christos
17 1.1 christos our @tests = (
18 1.1 christos {
19 1.1 christos name => "update-key-client-update-not-requested",
20 1.1 christos server => {},
21 1.1 christos client => {},
22 1.1 christos test => {
23 1.1 christos "HandshakeMode" => "KeyUpdateClient",
24 1.1 christos "KeyUpdateType" => "KeyUpdateNotRequested",
25 1.1 christos "ResumptionExpected" => "No",
26 1.1 christos "ExpectedResult" => "Success"
27 1.1 christos }
28 1.1 christos },
29 1.1 christos {
30 1.1 christos name => "update-key-server-update-not-requested",
31 1.1 christos server => {},
32 1.1 christos client => {},
33 1.1 christos test => {
34 1.1 christos "HandshakeMode" => "KeyUpdateServer",
35 1.1 christos "KeyUpdateType" => "KeyUpdateNotRequested",
36 1.1 christos "ResumptionExpected" => "No",
37 1.1 christos "ExpectedResult" => "Success"
38 1.1 christos }
39 1.1 christos },
40 1.1 christos {
41 1.1 christos name => "update-key-client-update-requested",
42 1.1 christos server => {},
43 1.1 christos client => {},
44 1.1 christos test => {
45 1.1 christos "HandshakeMode" => "KeyUpdateClient",
46 1.1 christos "KeyUpdateType" => "KeyUpdateRequested",
47 1.1 christos "ResumptionExpected" => "No",
48 1.1 christos "ExpectedResult" => "Success"
49 1.1 christos }
50 1.1 christos },
51 1.1 christos {
52 1.1 christos name => "update-key-server-update-requested",
53 1.1 christos server => {},
54 1.1 christos client => {},
55 1.1 christos test => {
56 1.1 christos "HandshakeMode" => "KeyUpdateServer",
57 1.1 christos "KeyUpdateType" => "KeyUpdateRequested",
58 1.1 christos "ResumptionExpected" => "No",
59 1.1 christos "ExpectedResult" => "Success"
60 1.1 christos }
61 1.1 christos }
62 1.1 christos );
63