diff options
author | gal <gal@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-08-17 19:16:51 +0000 |
---|---|---|
committer | gal <gal@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-08-17 19:16:51 +0000 |
commit | 840f4231f8b916fdc69373f9e9da87c6cc4933ea (patch) | |
tree | 1b0625d223a2ed43b290b4948b4150ecd7dd0a8a /asn1/x509sat | |
parent | a8c01318961626d136ecaf5749ae11dc32112bb9 (diff) |
Faked BMP string display.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22536 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/x509sat')
-rw-r--r-- | asn1/x509sat/x509sat-exp.cnf | 2 | ||||
-rw-r--r-- | asn1/x509sat/x509sat.cnf | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/asn1/x509sat/x509sat-exp.cnf b/asn1/x509sat/x509sat-exp.cnf index 9be756f641..6def1c478d 100644 --- a/asn1/x509sat/x509sat-exp.cnf +++ b/asn1/x509sat/x509sat-exp.cnf @@ -1,6 +1,6 @@ # Do not modify this file. # It is created automatically by the ASN.1 to Wireshark dissector compiler -# .\x509sat-exp.cnf +# ./x509sat-exp.cnf # ../../tools/asn2wrs.py -b -e -p x509sat -c x509sat.cnf -s packet-x509sat-template SelectedAttributeTypes.asn #.MODULE diff --git a/asn1/x509sat/x509sat.cnf b/asn1/x509sat/x509sat.cnf index 6a03972a29..21d312c043 100644 --- a/asn1/x509sat/x509sat.cnf +++ b/asn1/x509sat/x509sat.cnf @@ -286,6 +286,21 @@ XDayOf/third third_dayof XDayOf/fourth fourth_dayof XDayOf/fifth fifth_dayof +#.FN_PARS SyntaxBMPString VAL_PTR = &wide_tvb + +#.FN_HDR SyntaxBMPString + tvbuff_t *wide_tvb; + proto_item *item; + char *string; +#.END + +#.FN_FTR SyntaxBMPString + item = get_ber_last_created_item(); + string = tvb_get_ephemeral_faked_unicode (wide_tvb, 0, tvb_length(wide_tvb) / 2, FALSE); + proto_item_append_text(item, " %s", string); + +#.END + #.END |