ssltests_base.pm revision 1.1.1.1
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 11package ssltests; 12 13sub test_pem 14{ 15 my ($file) = @_; 16 my $dir_sep = $^O ne "VMS" ? "/" : ""; 17 return "\${ENV::TEST_CERTS_DIR}" . $dir_sep . $file, 18} 19 20our %base_server = ( 21 "Certificate" => test_pem("servercert.pem"), 22 "PrivateKey" => test_pem("serverkey.pem"), 23 "CipherString" => "DEFAULT", 24); 25 26our %base_client = ( 27 "VerifyCAFile" => test_pem("rootcert.pem"), 28 "VerifyMode" => "Peer", 29 "CipherString" => "DEFAULT", 30); 31