1*4724848cSchristos# -*- mode: perl; -*- 2*4724848cSchristos# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. 3*4724848cSchristos# 4*4724848cSchristos# Licensed under the OpenSSL license (the "License"). You may not use 5*4724848cSchristos# this file except in compliance with the License. You can obtain a copy 6*4724848cSchristos# in the file LICENSE in the source distribution or at 7*4724848cSchristos# https://www.openssl.org/source/license.html 8*4724848cSchristos 9*4724848cSchristos## SSL test configurations 10*4724848cSchristos 11*4724848cSchristospackage ssltests; 12*4724848cSchristos 13*4724848cSchristossub test_pem 14*4724848cSchristos{ 15*4724848cSchristos my ($file) = @_; 16*4724848cSchristos my $dir_sep = $^O ne "VMS" ? "/" : ""; 17*4724848cSchristos return "\${ENV::TEST_CERTS_DIR}" . $dir_sep . $file, 18*4724848cSchristos} 19*4724848cSchristos 20*4724848cSchristosour %base_server = ( 21*4724848cSchristos "Certificate" => test_pem("servercert.pem"), 22*4724848cSchristos "PrivateKey" => test_pem("serverkey.pem"), 23*4724848cSchristos "CipherString" => "DEFAULT", 24*4724848cSchristos); 25*4724848cSchristos 26*4724848cSchristosour %base_client = ( 27*4724848cSchristos "VerifyCAFile" => test_pem("rootcert.pem"), 28*4724848cSchristos "VerifyMode" => "Peer", 29*4724848cSchristos "CipherString" => "DEFAULT", 30*4724848cSchristos); 31