openssl/crypto/cms
Alon Bar-Lev b03756130d REGRESSION: CMS_final: do not ignore CMS_dataFinal result
The CMS_dataFinal result is important as signature may fail, however, it
is ignored while returning success from CMS_final.

The SMIME_crlf_copy result is returned while it is ignored in the rest
of the openssl code.

Prefer the CMS_dataFinal result.

This is regression from openssl-1.

Blame finds c1669f41ei as root cause of regression.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18876)
2022-07-28 10:05:59 +01:00
..
build.info Drop unnecessary checks of OPENSSL_NO_DH, OPENSSL_NO_DSA and OPENSSL_NO_EC 2020-12-16 11:56:38 +01:00
cms_asn1.c CMS: add CMS_SignedData_verify(), a variant of CMS_verify() with extensions 2022-07-16 08:15:49 +02:00
cms_att.c Update copyright year 2021-04-08 13:04:41 +01:00
cms_cd.c Update copyright year 2022-05-03 13:34:51 +01:00
cms_dd.c Update copyright year 2021-03-11 13:27:36 +00:00
cms_dh.c libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
cms_ec.c libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
cms_enc.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
cms_env.c CMS: add CMS_SignedData_verify(), a variant of CMS_verify() with extensions 2022-07-16 08:15:49 +02:00
cms_err.c CMS sign digest 2022-04-02 10:42:16 -04:00
cms_ess.c add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
cms_io.c Update copyright year 2022-05-03 13:34:51 +01:00
cms_kari.c cms: remove TODOs 2021-06-02 16:30:15 +10:00
cms_lib.c Remove duplicated #include headers 2022-05-04 13:46:10 +10:00
cms_local.h CMS: add CMS_SignedData_verify(), a variant of CMS_verify() with extensions 2022-07-16 08:15:49 +02:00
cms_pwri.c add checks for the return values of BN_new(), sk_RSA_PRIME_INFO_new_reserve(), 2021-10-27 08:36:55 +10:00
cms_rsa.c Update copyright year 2022-05-03 13:34:51 +01:00
cms_sd.c CMS: add CMS_SignedData_verify(), a variant of CMS_verify() with extensions 2022-07-16 08:15:49 +02:00
cms_smime.c REGRESSION: CMS_final: do not ignore CMS_dataFinal result 2022-07-28 10:05:59 +01:00