aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x420
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-01-04 12:39:52 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-01-04 12:39:52 +0000
commita6d82ae12e1e12dfe99dcc837a13c5485f273964 (patch)
treef3f10ab56a6ea74a0443d3bc2f4868b94a333d5c /asn1/x420
parenta67838484c96fa8f8a4cbce91f16c6f5cb1f80ee (diff)
Get rid of ber_last_created_item().
svn path=/trunk/; revision=24008
Diffstat (limited to 'asn1/x420')
-rw-r--r--asn1/x420/x420.cnf5
1 files changed, 2 insertions, 3 deletions
diff --git a/asn1/x420/x420.cnf b/asn1/x420/x420.cnf
index 0a8d2fd409..1f984d22bc 100644
--- a/asn1/x420/x420.cnf
+++ b/asn1/x420/x420.cnf
@@ -216,11 +216,10 @@ Body B "2.6.1.8.0" "id-bat-body"
#.FN_BODY CharacterSetRegistration
guint32 crs;
- proto_item *pi;
%(DEFAULT_BODY)s
- if((pi = get_ber_last_created_item()))
- proto_item_append_text(pi, " (%%s)", val_to_str(crs, charsetreg_vals, "unknown"));
+ if(actx->created_item)
+ proto_item_append_text(actx->created_item, " (%%s)", val_to_str(crs, charsetreg_vals, "unknown"));
#.FN_BODY Interchange-Data-Element
/* XXX Not implemented yet */