diff options
Diffstat (limited to 'lib/libcrypto/cms/cms_asn1.c')
-rw-r--r-- | lib/libcrypto/cms/cms_asn1.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libcrypto/cms/cms_asn1.c b/lib/libcrypto/cms/cms_asn1.c index d492591d445..d8b55b31a68 100644 --- a/lib/libcrypto/cms/cms_asn1.c +++ b/lib/libcrypto/cms/cms_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_asn1.c,v 1.15 2019/08/11 10:15:30 jsing Exp $ */ +/* $OpenBSD: cms_asn1.c,v 1.16 2019/08/11 10:24:15 jsing Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. @@ -1448,7 +1448,13 @@ const ASN1_ITEM CMS_Attributes_Verify_it = { static const ASN1_TEMPLATE CMS_ReceiptsFrom_ch_tt[] = { - ASN1_IMP_EMBED(CMS_ReceiptsFrom, d.allOrFirstTier, INT32, 0), + { + .flags = ASN1_TFLG_IMPLICIT, + .tag = 0, + .offset = offsetof(CMS_ReceiptsFrom, d.allOrFirstTier), + .field_name = "d.allOrFirstTier", + .item = &INT32_it, + }, { .flags = ASN1_TFLG_IMPLICIT | ASN1_TFLG_SEQUENCE_OF, .tag = 1, |