1 1.1 christos # -*- mode: perl; -*- 2 1.1 christos # Copyright 2016-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 CertStatus messages 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 18 1.1 christos our @tests = ( 19 1.1 christos { 20 1.1 christos name => "certstatus-good", 21 1.1 christos server => { 22 1.1 christos extra => { 23 1.1 christos "CertStatus" => "GoodResponse", 24 1.1 christos }, 25 1.1 christos }, 26 1.1 christos client => {}, 27 1.1 christos test => { 28 1.1 christos "Method" => "TLS", 29 1.1 christos "ExpectedResult" => "Success" 30 1.1 christos } 31 1.1 christos }, 32 1.1 christos { 33 1.1 christos name => "certstatus-bad", 34 1.1 christos server => { 35 1.1 christos extra => { 36 1.1 christos "CertStatus" => "BadResponse", 37 1.1 christos }, 38 1.1 christos }, 39 1.1 christos client => {}, 40 1.1 christos test => { 41 1.1 christos "Method" => "TLS", 42 1.1 christos "ExpectedResult" => "ClientFail" 43 1.1 christos } 44 1.1 christos }, 45 1.1 christos ); 46