VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.7/test/ssl-tests/ssltests_base.pm@ 105945

Last change on this file since 105945 was 104078, checked in by vboxsync, 11 months ago

openssl-3.1.5: Applied and adjusted our OpenSSL changes to 3.1.4. bugref:10638

File size: 867 bytes
Line 
1# -*- mode: perl; -*-
2# Copyright 2016-2020 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
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 $fips_mode = 0;
21our $no_deflt_libctx = 0;
22
23our %base_server = (
24 "Certificate" => test_pem("servercert.pem"),
25 "PrivateKey" => test_pem("serverkey.pem"),
26 "CipherString" => "DEFAULT",
27);
28
29our %base_client = (
30 "VerifyCAFile" => test_pem("rootcert.pem"),
31 "VerifyMode" => "Peer",
32 "CipherString" => "DEFAULT",
33);
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette