]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix test/recipes/25-test_verify.t [3.5]
authorRichard Levitte <levitte@openssl.org>
Sun, 4 May 2025 07:17:52 +0000 (09:17 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 4 May 2025 07:19:15 +0000 (09:19 +0200)
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 <david.von.oheimb@siemens.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27549)

test/recipes/25-test_verify.t

index f3fae34b47e7363bd2a238234430556666ba643d..271f499690bffa8a61605bb4d484769989eac480 100644 (file)
@@ -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