openssl/crypto/cms
Tomas Mraz 00b112c024 cms_sd.c: Code style cleanup and removed redundant check
The `md == NULL` check is redundant as ossl_cms_adjust_md()
never returns success with `md == NULL`.

Fixes Coverity issue 1675014
Fixes #29170

Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29171)
2025-11-20 15:07:47 +01:00
..
build.info Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_asn1.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_att.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_cd.c Convert ZLIB defines to OPENSSL_NO_ZLIB 2022-10-18 09:30:21 -04:00
cms_dd.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_dh.c Copyright year updates 2025-09-02 13:05:45 +00:00
cms_ec.c Fix multiple wrong checks of EVP_PKEY_set1_encoded_public_key 2024-11-22 12:09:38 +01:00
cms_enc.c Properly error out when AEAD Algorithms are used with Encrypted Data 2025-11-10 20:41:44 +01:00
cms_env.c CMS: Produce error when AEAD algorithms are used in enveloped data 2025-10-17 18:49:11 +02:00
cms_err.c CMS: Produce error when AEAD algorithms are used in enveloped data 2025-10-17 18:49:11 +02:00
cms_ess.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_io.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_kari.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_kem.c crypto\cms\cms_kem.c: Add ASN1_TYPE_free when EVP_CIPHER_param_to_asn1() fails 2025-08-22 11:39:45 -04:00
cms_kemri.c cms_kemri.c: Fix Coverity issues 2025-08-11 16:44:08 +02:00
cms_lib.c cms: Enable signing with hashless signing for no-attributes case 2025-11-18 18:03:24 +01:00
cms_local.h cms: Enable signing with hashless signing for no-attributes case 2025-11-18 18:03:24 +01:00
cms_pwri.c Fix an error check for EVP_PBE_CipherInit_ex() 2025-10-14 16:56:55 +02:00
cms_rsa.c Copyright year updates 2025-09-02 13:05:45 +00:00
cms_sd.c cms_sd.c: Code style cleanup and removed redundant check 2025-11-20 15:07:47 +01:00
cms_smime.c cms: Enable signature verification for no-attribute case (hashless signing) 2025-11-18 18:03:24 +01:00