diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-01-03 17:49:59 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-01-03 17:49:59 +0000 |
commit | a67838484c96fa8f8a4cbce91f16c6f5cb1f80ee (patch) | |
tree | f8708c05142d272eb5243fb179c439dc2bebd3a4 /epan | |
parent | 370f87d9be3154e63f5365fa4d96f81be974b47d (diff) |
Get rid of ber_created_item().
svn path=/trunk/; revision=24007
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-cms.c | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-cms.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-cms.c b/epan/dissectors/packet-cms.c index 3d3a310149..1cbda7874f 100644 --- a/epan/dissectors/packet-cms.c +++ b/epan/dissectors/packet-cms.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-cms.c */ -/* ../../tools/asn2wrs.py -b -X -T -e -p cms -c cms.cnf -s packet-cms-template CryptographicMessageSyntax.asn */ +/* ../../tools/asn2wrs.py -b -e -p cms -c cms.cnf -s packet-cms-template CryptographicMessageSyntax.asn */ /* Input file: packet-cms-template.c */ @@ -1113,7 +1113,7 @@ dissect_cms_EncryptedContent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o #line 178 "cms.cnf" - item = get_ber_last_created_item(); + item = actx->created_item; PBE_decrypt_data(object_identifier_id, encrypted_tvb, actx, item); @@ -1277,7 +1277,7 @@ dissect_cms_MessageDigest(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs NULL); - pi = get_ber_last_created_item(); + pi = actx->created_item; /* move past TLV */ old_offset = get_ber_identifier(tvb, old_offset, NULL, NULL, NULL); diff --git a/epan/dissectors/packet-cms.h b/epan/dissectors/packet-cms.h index f99a3cb9d6..c12015f23b 100644 --- a/epan/dissectors/packet-cms.h +++ b/epan/dissectors/packet-cms.h @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-cms.h */ -/* ../../tools/asn2wrs.py -b -X -T -e -p cms -c cms.cnf -s packet-cms-template CryptographicMessageSyntax.asn */ +/* ../../tools/asn2wrs.py -b -e -p cms -c cms.cnf -s packet-cms-template CryptographicMessageSyntax.asn */ /* Input file: packet-cms-template.h */ |