diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-09 11:13:00 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-09 21:44:35 +0200 |
commit | 842a20638ad423b43bfa1a5fca25547089e3d278 (patch) | |
tree | ce199b8e1640884d2d0217a8ec884df3b42f01be /test | |
parent | a6eef4c81b62bbab8d350fc8630ce8fadf0cd07a (diff) |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/ssl-tests/ssltests_base.pm | 8 |
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", ); |