SSL test framework: port NPN and ALPN tests
[openssl.git] / test / ssl-tests / ssltests_base.pm
1 # -*- mode: perl; -*-
2 # Copyright 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 ## SSL test configurations
10
11 package ssltests;
12
13 my $dir_sep = $^O ne "VMS" ? "/" : "";
14
15 our %base_server = (
16     "Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}servercert.pem",
17     "PrivateKey"  => "\${ENV::TEST_CERTS_DIR}${dir_sep}serverkey.pem",
18     "CipherString" => "DEFAULT",
19 );
20
21 our %base_client = (
22     "VerifyCAFile" => "\${ENV::TEST_CERTS_DIR}${dir_sep}rootcert.pem",
23     "VerifyMode" => "Peer",
24     "CipherString" => "DEFAULT",
25 );