projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f1790d
)
Constify tag table.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 23 Jan 2007 17:53:01 +0000
(17:53 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 23 Jan 2007 17:53:01 +0000
(17:53 +0000)
crypto/asn1/tasn_dec.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_dec.c
b/crypto/asn1/tasn_dec.c
index fb7caa3f2c80876ba533b24fa8c60e5ad96cb216..5d50b12aeff8cb6cc4d2550535117aa90757402b 100644
(file)
--- 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 */