Allow duplicate CMS attributes
authorTomas Mraz <tomas@openssl.org>
Wed, 13 Dec 2023 11:21:04 +0000 (12:21 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 3 Jan 2024 11:46:16 +0000 (12:46 +0100)
commit41dd0e0433d171a19fdc8e52a94e3d0a79c84281
treea78accb0dde935da7fea8226e99334b5d4240106
parentec290623e3eac42357189bf7c242ca7b18be1bc4
Allow duplicate CMS attributes

Fixes regression introduced with https://github.com/openssl/openssl/pull/21505

Fixes #22266

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23029)

(cherry picked from commit d7e707cb4983a35b1a265c6042da410d829f3b19)
crypto/cms/cms_att.c
crypto/x509/x509_att.c
include/crypto/x509.h