aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cms.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-01-03 17:49:59 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-01-03 17:49:59 +0000
commitcae894382b014723568a8f11ed3c4a3a4bd103e7 (patch)
treef8708c05142d272eb5243fb179c439dc2bebd3a4 /epan/dissectors/packet-cms.c
parent56c208dfad19917498c7fa4ee03cc722d480d35d (diff)
Get rid of ber_created_item().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24007 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cms.c')
-rw-r--r--epan/dissectors/packet-cms.c6
1 files changed, 3 insertions, 3 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);