cms: Create test for for purpose verification in cms application
authorLutz Jaenicke <ljaenicke@phoenixcontact.com>
Wed, 15 Jun 2022 17:01:43 +0000 (19:01 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 18 Aug 2022 08:24:53 +0000 (10:24 +0200)
commit19914fec9bac08ca7c7917eddc1b7d1dba67e4a7
tree709eaf8105300e8c0dd3b2efb7a3d03c3739c1dd
parent61a97676914df358dd014a9b6fe2ba01b0ebe508
cms: Create test for for purpose verification in cms application

The tests only cover the correct handling of the codesigning purpose in the certificates
in the context of the cms command line tool.
The interpretation of the certificate purpose is tested in the context of the "verify"
app. The correct handling of the cms objects is tested by other tests in 80-test_cms.t.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18567)
test/recipes/80-test_cms.t
test/smime-certs/ca.cnf
test/smime-certs/csrsa1.pem [new file with mode: 0644]
test/smime-certs/mksmime-certs.sh