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
cms_cd.c
cms_dd.c
cms_dh.c
cms_ec.c
cms_enc.c
cms_env.c Fix error handling in CMS_EncryptedData_encrypt 2024-05-06 10:13:20 +02:00
cms_err.c
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
cms_rsa.c
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