aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_dec.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-01-23 17:53:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-01-23 17:53:48 +0000
commit2d3e956ae06ac5e7da07dc6242d7a927c37650d9 (patch)
treecd60462bd4dd6cbd658449ecb2a9fa651f71f7ec /crypto/asn1/tasn_dec.c
parent36b7c06975ca41c17a78fe4c0641709e40bac7b3 (diff)
downloadopenssl-2d3e956ae06ac5e7da07dc6242d7a927c37650d9.tar.gz
Update from 0.9.7-stable.
Diffstat (limited to 'crypto/asn1/tasn_dec.c')
-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 61632a9dd2..f4831440fa 100644
--- a/crypto/asn1/tasn_dec.c
+++ b/crypto/asn1/tasn_dec.c
@@ -93,7 +93,7 @@ static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
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 */