summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-08-11 10:24:16 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-08-11 10:24:16 +0000
commitccc4e92f6b61c674c3b0a6013d86ac70e9215ebb (patch)
treee53841ad7b89a2c6f2f2f94da3aba7a4da8da6e9
parent971b3acd8a62b0bb0f8e2b65f9df5e489a2c8efc (diff)
Expand a new macro that tried to get away...
-rw-r--r--lib/libcrypto/cms/cms_asn1.c10
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,