]> git.ipfire.org Git - thirdparty/openssl.git/commit
Use sk_X509_ATTRIBUTE_deep_copy() to copy attribute stacks in pk7_doit.c
authorNiels Dossche <niels.dossche@ugent.be>
Wed, 16 Oct 2024 18:37:29 +0000 (20:37 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 28 Nov 2024 14:27:08 +0000 (15:27 +0100)
commita64d26ac0222d10f3b9cdced4a18aeb4d5092f0f
tree9b200494fa60e95e73b921e4650cc7f3efdd1b95
parentce4b2444156d834f620774d90ef94ffda66addb5
Use sk_X509_ATTRIBUTE_deep_copy() to copy attribute stacks in pk7_doit.c

Clean up the code by using the dedicated stack copy function.

Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25713)
crypto/pkcs7/pk7_doit.c