diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-22 01:22:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-22 01:22:01 +0000 |
commit | a75657bbd6c7bbd3278e51750bf578392fea618e (patch) | |
tree | 2325f1c5a32dce86bdafda82ae3b814b847ba791 /asn1/ess | |
parent | 9c953985a14cc29eddc41242ced64e3636d82434 (diff) |
It's not a string, it's a byte array (bit array, really).
Also, RFC 5035 isn't a complete ESS spec, it's an update to RFC 2634.
svn path=/trunk/; revision=54884
Diffstat (limited to 'asn1/ess')
-rw-r--r-- | asn1/ess/packet-ess-template.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/asn1/ess/packet-ess-template.c b/asn1/ess/packet-ess-template.c index bae3d07cb3..0c28d44d6d 100644 --- a/asn1/ess/packet-ess-template.c +++ b/asn1/ess/packet-ess-template.c @@ -1,5 +1,6 @@ /* packet-ess.c - * Routines for RFC5035 Extended Security Services packet dissection + * Routines for RFC 2634 and RFC 5035 Extended Security Services packet + * dissection * Ronnie Sahlberg 2004 * Stig Bjorlykke 2010 * @@ -123,7 +124,7 @@ ess_dissect_attribute_flags (tvbuff_t *tvb, asn1_ctx_t *actx) guint i; tree = proto_item_add_subtree (actx->created_item, ett_Category_attributes); - value = tvb_get_string (wmem_packet_scope(), tvb, 0, tvb_length (tvb)); + value = (guint8 *)tvb_memdup (wmem_packet_scope(), tvb, 0, tvb_length (tvb)); for (i = 0; i < num_ess_category_attributes; i++) { ess_category_attributes_t *u = &(ess_category_attributes[i]); |