make asn.1 field names const
This commit is contained in:
parent
965a1cb92e
commit
9edf4e8157
@ -88,7 +88,7 @@
|
|||||||
|
|
||||||
struct tag_name_st
|
struct tag_name_st
|
||||||
{
|
{
|
||||||
char *strnam;
|
const char *strnam;
|
||||||
int len;
|
int len;
|
||||||
int tag;
|
int tag;
|
||||||
};
|
};
|
||||||
|
@ -429,7 +429,7 @@ 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
|
#ifndef NO_ASN1_FIELD_NAMES
|
||||||
char *field_name; /* Field name */
|
const char *field_name; /* Field name */
|
||||||
#endif
|
#endif
|
||||||
ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
|
ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user