From ccc4e92f6b61c674c3b0a6013d86ac70e9215ebb Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Sun, 11 Aug 2019 10:24:16 +0000 Subject: Expand a new macro that tried to get away... --- lib/libcrypto/cms/cms_asn1.c | 10 ++++++++-- 1 file 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, -- cgit v1.2.3