diff options
author | tb <> | 2022-01-14 08:16:13 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 08:16:13 +0000 |
commit | 72623a3ef957eb2abae8f23270f10fce78f84123 (patch) | |
tree | 74d6c4cd010903a61c401e87224b05cd978c67e0 /src/lib/libcrypto/pkcs7 | |
parent | b4428794e46977d3522eb9b836c6ad7ded3031ca (diff) | |
download | openbsd-72623a3ef957eb2abae8f23270f10fce78f84123.tar.gz openbsd-72623a3ef957eb2abae8f23270f10fce78f84123.tar.bz2 openbsd-72623a3ef957eb2abae8f23270f10fce78f84123.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/pkcs7')
-rw-r--r-- | src/lib/libcrypto/pkcs7/pk7_asn1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs7/pk7_asn1.c b/src/lib/libcrypto/pkcs7/pk7_asn1.c index 81e4a01f14..66659051a6 100644 --- a/src/lib/libcrypto/pkcs7/pk7_asn1.c +++ b/src/lib/libcrypto/pkcs7/pk7_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pk7_asn1.c,v 1.12 2015/07/25 15:33:06 jsing Exp $ */ | 1 | /* $OpenBSD: pk7_asn1.c,v 1.13 2022/01/14 08:16:13 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -146,7 +146,6 @@ static const ASN1_ADB_TABLE PKCS7_adbtbl[] = { | |||
146 | static const ASN1_ADB PKCS7_adb = { | 146 | static const ASN1_ADB PKCS7_adb = { |
147 | .flags = 0, | 147 | .flags = 0, |
148 | .offset = offsetof(PKCS7, type), | 148 | .offset = offsetof(PKCS7, type), |
149 | .app_items = 0, | ||
150 | .tbl = PKCS7_adbtbl, | 149 | .tbl = PKCS7_adbtbl, |
151 | .tblcount = sizeof(PKCS7_adbtbl) / sizeof(ASN1_ADB_TABLE), | 150 | .tblcount = sizeof(PKCS7_adbtbl) / sizeof(ASN1_ADB_TABLE), |
152 | .default_tt = &p7default_tt, | 151 | .default_tt = &p7default_tt, |