提交 842a2063 编写于 作者: R Richard Levitte

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: NEmilia Käsper <emilia@openssl.org>
上级 a6eef4c8
......@@ -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",
);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册