diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-09-27 23:39:12 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-09-29 17:21:46 +0200 |
commit | 2171a071aa16780962071e93c5c24ff148195c98 (patch) | |
tree | f7c319929ca307f0973bdc71ab36696119d32e2f /include | |
parent | Add -item option to asn1parse (diff) | |
download | openssl-2171a071aa16780962071e93c5c24ff148195c98.tar.xz openssl-2171a071aa16780962071e93c5c24ff148195c98.zip |
ASN1_ITEM should use type name not structure name.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/asn1t.h | 4 |
1 files 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) \ ;\ |