1 # -*- mode: perl; -*- 2 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 3 # 4 # Licensed under the Apache License 2.0 (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 sub test_pem 14 { 15 my ($file) = @_; 16 my $dir_sep = $^O ne "VMS" ? "/" : ""; 17 return "\${ENV::TEST_CERTS_DIR}" . $dir_sep . $file, 18 } 19 20 our $fips_mode = 0; 21 our $no_deflt_libctx = 0; 22 our $fips_3_4 = 0; 23 our $fips_3_5 = 0; 24 25 our %base_server = ( 26 "Certificate" => test_pem("servercert.pem"), 27 "PrivateKey" => test_pem("serverkey.pem"), 28 "CipherString" => "DEFAULT", 29 ); 30 31 our %base_client = ( 32 "VerifyCAFile" => test_pem("rootcert.pem"), 33 "VerifyMode" => "Peer", 34 "CipherString" => "DEFAULT", 35 ); 36