summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms/cms_asn1.c
diff options
context:
space:
mode:
authortb <>2022-01-14 08:16:13 +0000
committertb <>2022-01-14 08:16:13 +0000
commitec5f7af843436771be5081c868e0fb0b44069ead (patch)
tree74d6c4cd010903a61c401e87224b05cd978c67e0 /src/lib/libcrypto/cms/cms_asn1.c
parent28d19dc05bbc3e8c5f366d16c78dd0d925631656 (diff)
downloadopenbsd-ec5f7af843436771be5081c868e0fb0b44069ead.tar.gz
openbsd-ec5f7af843436771be5081c868e0fb0b44069ead.tar.bz2
openbsd-ec5f7af843436771be5081c868e0fb0b44069ead.zip
Garbage collect the app_items field of ASN1_ADB
This is unused and was removed in OpenSSL 5b70372d when it was replaced with an ASN.1 ADB callback (which we don't support). ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/cms/cms_asn1.c')
-rw-r--r--src/lib/libcrypto/cms/cms_asn1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cms/cms_asn1.c b/src/lib/libcrypto/cms/cms_asn1.c
index ac53fec154..cc00aef0fa 100644
--- a/src/lib/libcrypto/cms/cms_asn1.c
+++ b/src/lib/libcrypto/cms/cms_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_asn1.c,v 1.18 2019/08/11 10:43:57 jsing Exp $ */ 1/* $OpenBSD: cms_asn1.c,v 1.19 2022/01/14 08:16:13 tb Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -1323,7 +1323,6 @@ static const ASN1_ADB_TABLE CMS_ContentInfo_adbtbl[] = {
1323static const ASN1_ADB CMS_ContentInfo_adb = { 1323static const ASN1_ADB CMS_ContentInfo_adb = {
1324 .flags = 0, 1324 .flags = 0,
1325 .offset = offsetof(CMS_ContentInfo, contentType), 1325 .offset = offsetof(CMS_ContentInfo, contentType),
1326 .app_items = 0,
1327 .tbl = CMS_ContentInfo_adbtbl, 1326 .tbl = CMS_ContentInfo_adbtbl,
1328 .tblcount = sizeof(CMS_ContentInfo_adbtbl) / sizeof(ASN1_ADB_TABLE), 1327 .tblcount = sizeof(CMS_ContentInfo_adbtbl) / sizeof(ASN1_ADB_TABLE),
1329 .default_tt = &cms_default_tt, 1328 .default_tt = &cms_default_tt,