SSL test: only write out server2 when testing SNI
[openssl.git] / test / ssl-tests / 01-simple.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 ## 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
22     {
23         name => "verify-cert",
24         server => { },
25         client => {
26             # Don't set up the client root file.
27             "VerifyCAFile" => undef,
28         },
29         test   => {
30           "ExpectedResult" => "ClientFail",
31           "ClientAlert" => "UnknownCA",
32         },
33     },
34 );