From b3e7dad7ac086dd266b7b32665b584d940428f38 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 4 May 2025 09:17:52 +0200 Subject: [PATCH] Fix test/recipes/25-test_verify.t [3.5] This removes a couple of tests that check a relaxation of the 'file:' scheme implementation that isn't present in OpenSSL 3.5 Reviewed-by: David von Oheimb Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/27549) --- test/recipes/25-test_verify.t | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/recipes/25-test_verify.t b/test/recipes/25-test_verify.t index f3fae34b47e..271f499690b 100644 --- a/test/recipes/25-test_verify.t +++ b/test/recipes/25-test_verify.t @@ -30,7 +30,7 @@ sub verify { run(app([@args])); } -plan tests => 205; +plan tests => 203; # Canonical success ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]), @@ -608,12 +608,10 @@ SKIP: { my $foo_file = "foo:cert.pem"; copy($rootcert, $foo_file); ok(vfy_root("-CAstore", $foo_file), "CAstore foo:file"); - ok(vfy_root("-CAstore", "file:".$foo_file), "CAstore file:foo:file"); } my $foo_file = "cert.pem"; copy($rootcert, $foo_file); ok(vfy_root("-CAstore", $foo_file), "CAstore foo:file"); -ok(vfy_root("-CAstore", "file:".$foo_file), "CAstore file:foo:file"); my $abs_cert = abs_path($rootcert); # Windows file: URIs should have a path part starting with a slash, i.e. # file://authority/C:/what/ever/foo.pem and file:///C:/what/ever/foo.pem -- 2.47.3