Commit fe44705758 for openssl.org

commit fe44705758b57f68428b6ed1ee74d6caee64ea8b
Author: Tomas Mraz <tomas@openssl.foundation>
Date:   Wed Jun 24 12:02:02 2026 +0200

    25-test_verify_store.t: Add missing capture for bare run()

    We want to add the printed out pubkey and not
    just 1. Also add a comment clarifying intention of this
    exercise.

    Fixes 77c979faf47b

    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
    Reviewed-by: Bob Beck <beck@openssl.org>
    MergeDate: Thu Jun 25 16:44:51 2026
    (Merged from https://github.com/openssl/openssl/pull/31700)

diff --git a/test/recipes/25-test_verify_store.t b/test/recipes/25-test_verify_store.t
index 0db8e6238d..bfac17c7f4 100644
--- a/test/recipes/25-test_verify_store.t
+++ b/test/recipes/25-test_verify_store.t
@@ -72,9 +72,11 @@ SKIP: {
                 -CAstore => $CAcert,
                 $CAcert );

+    # Put a pubkey and DH params to the store to test
+    # that other things in the store are just ignored
     open(my $out, '>', $CAobjects) or die $!;
-    my $pubkey = run(app(["openssl", "x509", "-pubkey", "-noout", "-in", $CAcert]));
-    print $out $pubkey;
+    my @pubkey = run(app([qw(openssl x509 -pubkey -noout -in), $CAcert]), capture => 1);
+    print $out @pubkey;
     my @files;
     push @files, srctop_file("test", "certs", "dhp2048.pem")
         unless disabled("dh");