mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
make asn.1 field names const
This commit is contained in:
parent
965a1cb92e
commit
9edf4e8157
@ -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 */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user