]> git.ipfire.org Git - thirdparty/openssl.git/commit
CMS_add0_cert: if cert already present, do not throw error but ignore it
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 12 Sep 2022 18:50:28 +0000 (20:50 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Fri, 24 Feb 2023 07:49:26 +0000 (08:49 +0100)
commit65def9de8088ae39d8f251e0b57f1a0f204daa14
tree9b4236604d7d4ed956ec0f18633ed65c5cba5fd8
parent6f9e531003fd736e8e96d9a1a57f7763da9722b8
CMS_add0_cert: if cert already present, do not throw error but ignore it

Also add checks on failing cert/CRL up_ref calls; improve coding style.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19199)
CHANGES.md
crypto/cms/cms_lib.c
doc/man3/CMS_add0_cert.pod
doc/man3/CMS_sign.pod
doc/man3/CMS_verify.pod
test/cmsapitest.c