summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-01-23 17:53:01 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-01-23 17:53:01 +0000
commit37e8a080758b9b2a4787c5709ef421c78a38126f (patch)
treee2ed51f806ca98ac5e921602cc9d0845ad5ae455
parent1f1790d15b40f0a9300c81f5f16e8707054cc1d7 (diff)
Constify tag table.
-rw-r--r--crypto/asn1/tasn_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c
index fb7caa3f2c..5d50b12aef 100644
--- a/crypto/asn1/tasn_dec.c
+++ b/crypto/asn1/tasn_dec.c
@@ -77,7 +77,7 @@ static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, unsigned char **in, long len
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx);
/* Table to convert tags to bit values, used for MSTRING type */
-static unsigned long tag2bit[32]={
+static const unsigned long tag2bit[32]={
0, 0, 0, B_ASN1_BIT_STRING, /* tags 0 - 3 */
B_ASN1_OCTET_STRING, 0, 0, B_ASN1_UNKNOWN,/* tags 4- 7 */
B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN,/* tags 8-11 */