mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
UTF-8 not easily supported on VMS command line yet
Some tests are designed to test UTF-8 on the command line. We simply disable those on VMS. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15823)
This commit is contained in:
parent
e7137c8497
commit
46399d9db2
@ -40,6 +40,7 @@ is(cmp_text($out_utf8, $utf),
|
||||
|
||||
SKIP: {
|
||||
skip "DES disabled", 1 if disabled("des");
|
||||
skip "VMS doesn't support command line UTF-8", 1 if $^O eq 'VMS';
|
||||
|
||||
my $p12 = srctop_file("test", "shibboleth.pfx");
|
||||
my $p12pass = "σύνθημα γνώρισμα";
|
||||
|
@ -40,7 +40,7 @@ if (eval { require Win32::API; 1; }) {
|
||||
}
|
||||
} elsif ($^O eq "MSWin32") {
|
||||
plan skip_all => "Win32::API unavailable";
|
||||
} else {
|
||||
} elsif ($^O ne "VMS") {
|
||||
# Running MinGW tests transparently under Wine apparently requires
|
||||
# UTF-8 locale...
|
||||
|
||||
@ -63,11 +63,16 @@ ok(run(test(["pkcs12_format_test", "-legacy"])), "test pkcs12 formats using lega
|
||||
# Test with a non-default library context (and no loaded providers in the default context)
|
||||
ok(run(test(["pkcs12_format_test", "-context"])), "test pkcs12 formats using a non-default library context");
|
||||
|
||||
# just see that we can read shibboleth.pfx protected with $pass
|
||||
ok(run(app(["openssl", "pkcs12", "-noout",
|
||||
"-password", "pass:$pass",
|
||||
"-in", srctop_file("test", "shibboleth.pfx")])),
|
||||
"test_load_cert_pkcs12");
|
||||
SKIP: {
|
||||
skip "VMS doesn't have command line UTF-8 support yet in DCL", 1
|
||||
if $^O eq "VMS";
|
||||
|
||||
# just see that we can read shibboleth.pfx protected with $pass
|
||||
ok(run(app(["openssl", "pkcs12", "-noout",
|
||||
"-password", "pass:$pass",
|
||||
"-in", srctop_file("test", "shibboleth.pfx")])),
|
||||
"test_load_cert_pkcs12");
|
||||
}
|
||||
|
||||
my @path = qw(test certs);
|
||||
my $outfile1 = "out1.p12";
|
||||
|
Loading…
Reference in New Issue
Block a user