From 9edf4e81570f489080e0028bc348ec16adc4f42c Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Sat, 23 Apr 2005 13:45:49 +0000 Subject: make asn.1 field names const --- crypto/asn1/asn1_gen.c | 2 +- crypto/asn1/asn1t.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/asn1') diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c index 4341e5415a..62ebe88592 100644 --- a/crypto/asn1/asn1_gen.c +++ b/crypto/asn1/asn1_gen.c @@ -88,7 +88,7 @@ struct tag_name_st { - char *strnam; + const char *strnam; int len; int tag; }; diff --git a/crypto/asn1/asn1t.h b/crypto/asn1/asn1t.h index a024836834..cc0cd1c842 100644 --- a/crypto/asn1/asn1t.h +++ b/crypto/asn1/asn1t.h @@ -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 */ }; -- cgit v1.2.3