提交 26f2412d 编写于 作者: D Dr. Stephen Henson

always use field names

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 f246f90e
...@@ -512,9 +512,7 @@ struct ASN1_TEMPLATE_st { ...@@ -512,9 +512,7 @@ struct ASN1_TEMPLATE_st {
unsigned long flags; /* Various flags */ unsigned long flags; /* Various flags */
long tag; /* tag, not used if no tagging */ long tag; /* tag, not used if no tagging */
unsigned long offset; /* Offset of this field in structure */ unsigned long offset; /* Offset of this field in structure */
# ifndef NO_ASN1_FIELD_NAMES
const char *field_name; /* Field name */ const char *field_name; /* Field name */
# endif
ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */ ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
}; };
...@@ -631,9 +629,7 @@ struct ASN1_ITEM_st { ...@@ -631,9 +629,7 @@ struct ASN1_ITEM_st {
long tcount; /* Number of templates if SEQUENCE or CHOICE */ long tcount; /* Number of templates if SEQUENCE or CHOICE */
const void *funcs; /* functions that handle this type */ const void *funcs; /* functions that handle this type */
long size; /* Structure size (usually) */ long size; /* Structure size (usually) */
# ifndef NO_ASN1_FIELD_NAMES
const char *sname; /* Structure name */ const char *sname; /* Structure name */
# endif
}; };
/*- /*-
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册