]>
Commit | Line | Data |
---|---|---|
453dfd8d | 1 | # -*- mode: perl; -*- |
44c8a5e2 RS |
2 | # Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved. |
3 | # | |
909f1a2e | 4 | # Licensed under the Apache License 2.0 (the "License"). You may not use |
44c8a5e2 RS |
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 | ||
453dfd8d EK |
9 | |
10 | ## SSL test configurations | |
11 | ||
12 | package ssltests; | |
13 | ||
14 | our @tests = ( | |
15 | { | |
16 | name => "default", | |
17 | server => { }, | |
18 | client => { }, | |
19 | test => { "ExpectedResult" => "Success" }, | |
20 | }, | |
21 | ||
9cf847d7 DSH |
22 | { |
23 | name => "Server signature algorithms bug", | |
24 | # Should have no effect as we aren't doing client auth | |
d8979bdd DSH |
25 | server => { "ClientSignatureAlgorithms" => "PSS+SHA512:RSA+SHA512" }, |
26 | client => { "SignatureAlgorithms" => "PSS+SHA256:RSA+SHA256" }, | |
9cf847d7 DSH |
27 | test => { "ExpectedResult" => "Success" }, |
28 | }, | |
29 | ||
453dfd8d EK |
30 | { |
31 | name => "verify-cert", | |
32 | server => { }, | |
33 | client => { | |
34 | # Don't set up the client root file. | |
35 | "VerifyCAFile" => undef, | |
36 | }, | |
37 | test => { | |
38 | "ExpectedResult" => "ClientFail", | |
9f48bbac | 39 | "ExpectedClientAlert" => "UnknownCA", |
453dfd8d EK |
40 | }, |
41 | }, | |
42 | ); |