make asn.1 field names const

This commit is contained in:
Nils Larsch 2005-04-23 13:45:49 +00:00
parent 965a1cb92e
commit 9edf4e8157
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@
struct tag_name_st
{
char *strnam;
const char *strnam;
int len;
int tag;
};

View File

@ -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 */
};