Commit 77c979faf4 for openssl.org
commit 77c979faf47b777afb07c325f738d8be882f6a97
Author: Randall S. Becker <randall.becker@nexbridge.ca>
Date: Mon Jun 22 13:28:51 2026 -0600
Fix unqualified reference to openssl in 25-test_verify_store.t
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)
diff --git a/test/recipes/25-test_verify_store.t b/test/recipes/25-test_verify_store.t
index 6338b862b5..0db8e6238d 100644
--- a/test/recipes/25-test_verify_store.t
+++ b/test/recipes/25-test_verify_store.t
@@ -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")