From 2171a071aa16780962071e93c5c24ff148195c98 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 27 Sep 2016 22:39:12 +0100 Subject: [PATCH] ASN1_ITEM should use type name not structure name. Reviewed-by: Rich Salz --- include/openssl/asn1t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openssl/asn1t.h b/include/openssl/asn1t.h index 8eedfb3f43..0a7e3754c3 100644 --- a/include/openssl/asn1t.h +++ b/include/openssl/asn1t.h @@ -130,7 +130,7 @@ extern "C" { sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ NULL,\ sizeof(stname),\ - #stname \ + #tname \ ASN1_ITEM_end(tname) # define static_ASN1_SEQUENCE_END_name(stname, tname) \ @@ -208,7 +208,7 @@ extern "C" { sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ &tname##_aux,\ sizeof(stname),\ - #stname \ + #tname \ ASN1_ITEM_end(tname) # define static_ASN1_SEQUENCE_END_ref(stname, tname) \ ;\ -- 2.25.1