提交 9edf4e81 编写于 作者: N Nils Larsch

make asn.1 field names const

上级 965a1cb9
......@@ -88,7 +88,7 @@
struct tag_name_st
{
char *strnam;
const char *strnam;
int len;
int tag;
};
......
......@@ -429,7 +429,7 @@ unsigned long flags; /* Various flags */
long tag; /* tag, not used if no tagging */
unsigned long offset; /* Offset of this field in structure */
#ifndef NO_ASN1_FIELD_NAMES
char *field_name; /* Field name */
const char *field_name; /* Field name */
#endif
ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册