]> git.ipfire.org Git - thirdparty/openssl.git/commit
80-test_cms.t: Add test case for verification of multiple signatures
authorJan Luebbe <jlu@pengutronix.de>
Fri, 4 Apr 2025 10:38:40 +0000 (12:38 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 16 Apr 2025 11:35:20 +0000 (13:35 +0200)
commit5857bdbb766a206f4efe7e8c72cf6721a625bd90
tree20c0ac764c9d6b73b5d8d1de38311a10658898b8
parentada231523f6569c92795e16c9a61b7190f2032b1
80-test_cms.t: Add test case for verification of multiple signatures

openssl cms -verify requires all signatures to pass verification, so adding
a signature with -resign will cause overall verification to fail if the new
signature cannot be verified.

As I intend to optionally allow this case (see #26382), this new test
case ensures that the current behaviour stays the default.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27269)
test/recipes/80-test_cms.t