summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-04-09 11:13:00 +0200
committerRichard Levitte <levitte@openssl.org>2016-04-09 21:44:35 +0200
commit842a20638ad423b43bfa1a5fca25547089e3d278 (patch)
treece199b8e1640884d2d0217a8ec884df3b42f01be
parentRSA: the docs still talk about RSA_PKCS1_SSLeay (diff)
downloadopenssl-842a20638ad423b43bfa1a5fca25547089e3d278.tar.xz
openssl-842a20638ad423b43bfa1a5fca25547089e3d278.zip
VMS doesn't have directory separators in the same sense as Unix
Don't add / in file specs on VMS. The directory "separator" is part of the directory spec. Reviewed-by: Emilia Käsper <emilia@openssl.org>
-rw-r--r--test/ssl-tests/ssltests_base.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/ssl-tests/ssltests_base.pm b/test/ssl-tests/ssltests_base.pm
index 05aab97e13..387043e375 100644
--- a/test/ssl-tests/ssltests_base.pm
+++ b/test/ssl-tests/ssltests_base.pm
@@ -4,14 +4,16 @@
package ssltests;
+my $dir_sep = $^O ne "VMS" ? "/" : "";
+
our %base_server = (
- "Certificate" => "\${ENV::TEST_CERTS_DIR}/servercert.pem",
- "PrivateKey" => "\${ENV::TEST_CERTS_DIR}/serverkey.pem",
+ "Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}servercert.pem",
+ "PrivateKey" => "\${ENV::TEST_CERTS_DIR}${dir_sep}serverkey.pem",
"CipherString" => "DEFAULT",
);
our %base_client = (
- "VerifyCAFile" => "\${ENV::TEST_CERTS_DIR}/rootcert.pem",
+ "VerifyCAFile" => "\${ENV::TEST_CERTS_DIR}${dir_sep}rootcert.pem",
"VerifyMode" => "Peer",
"CipherString" => "DEFAULT",
);