openssl/crypto/cms
Bernd Edlinger 6d2a01cdfb Fix error handling in CMS_EncryptedData_encrypt
That caused several memory leaks in case of error.
Also when the CMS object that is created by CMS_EncryptedData_encrypt
is not used in the normal way, but instead just deleted
by CMS_ContentInfo_free some memory was lost.

Fixes #21985

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22031)
2024-05-06 10:13:20 +02:00
..
build.info
cms_asn1.c Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00
cms_att.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_cd.c
cms_dd.c
cms_dh.c
cms_ec.c
cms_enc.c cms_enc.c: Include crypto/asn1.h for struct asn1_object_st 2023-10-19 10:15:56 +02:00
cms_env.c Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00
cms_err.c CMS_add1_signer(): add missing ERR_raise() calls 2023-10-17 22:02:29 +02:00
cms_ess.c
cms_io.c
cms_kari.c
cms_lib.c Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00
cms_local.h Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00
cms_pwri.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_rsa.c Fix memleak in rsa_cms_decrypt 2023-12-29 10:39:34 +01:00
cms_sd.c Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00
cms_smime.c Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00