diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-22 19:44:16 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-22 19:44:16 +0100 |
commit | 28a038f45620bf885f791e1e2d0505714fe2222f (patch) | |
tree | a4e636d8879869d2e76298e23b147b59b39f2bc5 /lib/coding.c | |
parent | 24078b55e3565acd9bfd7f7a61829182076daca1 (diff) | |
download | libtasn1-28a038f45620bf885f791e1e2d0505714fe2222f.tar.gz libtasn1-28a038f45620bf885f791e1e2d0505714fe2222f.tar.bz2 libtasn1-28a038f45620bf885f791e1e2d0505714fe2222f.zip |
use const for the data
Diffstat (limited to 'lib/coding.c')
-rw-r--r-- | lib/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coding.c b/lib/coding.c index 5d98fe4..0802f73 100644 --- a/lib/coding.c +++ b/lib/coding.c @@ -429,7 +429,7 @@ _asn1_complete_explicit_tag (asn1_node node, unsigned char *der, return ASN1_SUCCESS; } -tag_and_class_st _asn1_tags[] = +const tag_and_class_st _asn1_tags[] = { [ASN1_ETYPE_GENERALSTRING] = {ASN1_TAG_GENERALSTRING, ASN1_CLASS_UNIVERSAL, "type:GENERALSTRING"}, [ASN1_ETYPE_NUMERICSTRING] = {ASN1_TAG_NUMERICSTRING, ASN1_CLASS_UNIVERSAL, "type:NUMERIC_STR"}, |