diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-10-08 20:28:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-10-08 20:28:04 +0000 |
commit | 4c9d419db3f4669f64f8262a0169d0a5f2539aaa (patch) | |
tree | d982f3c113cd3836afa5f71d143075e6f1f1b9a8 /asn1/cms/packet-cms-template.c | |
parent | c5c845309701a813c40cb39748e1161bc3ffa50b (diff) |
Make the ber_sequence tables "const".
svn path=/trunk/; revision=12245
Diffstat (limited to 'asn1/cms/packet-cms-template.c')
-rw-r--r-- | asn1/cms/packet-cms-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/cms/packet-cms-template.c b/asn1/cms/packet-cms-template.c index 33cd901af9..59f4ad994c 100644 --- a/asn1/cms/packet-cms-template.c +++ b/asn1/cms/packet-cms-template.c @@ -75,7 +75,7 @@ dissect_keyAttr_type(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int of return offset; } -static ber_sequence OtherKeyAttribute_sequence[] = { +static const ber_sequence OtherKeyAttribute_sequence[] = { { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_keyAttrId }, { BER_CLASS_ANY, 0, 0, dissect_keyAttr_type }, { 0, 0, 0, NULL } @@ -139,7 +139,7 @@ dissect_hf_cms_contentType_content(packet_info *pinfo, proto_tree *tree, tvbuff_ return offset; } -static ber_sequence ContentInfo_sequence[] = { +static const ber_sequence ContentInfo_sequence[] = { { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_hf_cms_contentType }, { BER_CLASS_ANY, 0, 0, dissect_hf_cms_contentType_content }, { 0, 0, 0, NULL } |