]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix unqualified reference to openssl in 25-test_verify_store.t
authorRandall S. Becker <randall.becker@nexbridge.ca>
Mon, 22 Jun 2026 19:28:51 +0000 (13:28 -0600)
committerEugene Syromiatnikov <esyr@openssl.org>
Wed, 24 Jun 2026 08:46:31 +0000 (10:46 +0200)
This problem resulted in the wrong location of openssl being used
for one step in subtest 7.  The error condition is hidden if openssl
appears in the PATH.

Resolves: https://github.com/openssl/openssl/issues/31496
Fixes: 3638ffc38015 "Refactor cache_objects() loop and object type handling"
Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Matt Caswell <matt@openssl.foundation>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Bob Beck <beck@openssl.org>
MergeDate: Wed Jun 24 08:47:58 2026
(Merged from https://github.com/openssl/openssl/pull/31647)

test/recipes/25-test_verify_store.t

index 6338b862b5544c7316044ab9f823b552745d1f42..0db8e6238d02d0db5101505f84429d672763917b 100644 (file)
@@ -73,7 +73,7 @@ SKIP: {
                 $CAcert );
 
     open(my $out, '>', $CAobjects) or die $!;
-    my $pubkey = qx(openssl x509 -pubkey -noout -in $CAcert);
+    my $pubkey = run(app(["openssl", "x509", "-pubkey", "-noout", "-in", $CAcert]));
     print $out $pubkey;
     my @files;
     push @files, srctop_file("test", "certs", "dhp2048.pem")