Update from 0.9.7-stable.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 23 Jan 2007 17:54:22 +0000 (17:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 23 Jan 2007 17:54:22 +0000 (17:54 +0000)
crypto/asn1/tasn_dec.c

index ff2f77b9d8c16b5805bc6a2b02fd45387ea9830b..66d229b08b39bae6fc34d42eae013a6eb0a8fab4 100644 (file)
@@ -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 */