Get rid of ber_created_item().

svn path=/trunk/; revision=24007
This commit is contained in:
Anders Broman 2008-01-03 17:49:59 +00:00
parent 370f87d9be
commit a67838484c
4 changed files with 7 additions and 9 deletions

View File

@ -129,7 +129,7 @@ EncryptedContentInfo/contentType encryptedContentType
%(DEFAULT_BODY)s
pi = get_ber_last_created_item();
pi = actx->created_item;
/* move past TLV */
old_offset = get_ber_identifier(tvb, old_offset, NULL, NULL, NULL);
@ -176,7 +176,7 @@ EncryptedContentInfo/contentType encryptedContentType
#.FN_FTR EncryptedContent
item = get_ber_last_created_item();
item = actx->created_item;
PBE_decrypt_data(object_identifier_id, encrypted_tvb, actx, item);

View File

@ -270,13 +270,11 @@ gsm_map_calc_bitrate(guint8 value){
static void
dissect_gsm_map_ext_qos_subscribed(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_){
int offset = 0;
proto_item *item;
proto_tree *subtree;
guint8 octet;
guint16 value;
item = get_ber_last_created_item();
subtree = proto_item_add_subtree(item, ett_gsm_map_ext_qos_subscribed);
subtree = proto_item_add_subtree(actx->created_item, ett_gsm_map_ext_qos_subscribed);
/* OCTET 1:
Allocation/Retention Priority (This octet encodes each priority level defined in
23.107 as the binary value of the priority level, declaration in 29.060)

View File

@ -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);

View File

@ -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 */