mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
19e512a824
Fixes #8923 Found using the openssl cms -resign option. This uses an alternate path to do the signing which was not adding the required signed attribute content type. The content type attribute should always exist since it is required is there are any signed attributes. As the signing time attribute is always added in code, the content type attribute is also required. The CMS_si_check_attributes() method adds validity checks for signed and unsigned attributes e.g. The message digest attribute is a signed attribute that must exist if any signed attributes exist, it cannot be an unsigned attribute and there must only be one instance containing a single value. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8944) |
||
---|---|---|
.. | ||
build.info | ||
cms_asn1.c | ||
cms_att.c | ||
cms_cd.c | ||
cms_dd.c | ||
cms_enc.c | ||
cms_env.c | ||
cms_err.c | ||
cms_ess.c | ||
cms_io.c | ||
cms_kari.c | ||
cms_lcl.h | ||
cms_lib.c | ||
cms_pwri.c | ||
cms_sd.c | ||
cms_smime.c |