From: Dr. Stephen Henson Date: Tue, 27 Sep 2016 21:39:12 +0000 (+0100) Subject: ASN1_ITEM should use type name not structure name. X-Git-Tag: OpenSSL_1_1_1-pre1~3422 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2171a071aa16780962071e93c5c24ff148195c98;p=oweals%2Fopenssl.git ASN1_ITEM should use type name not structure name. Reviewed-by: Rich Salz --- 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) \ ;\