diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-07-22 13:11:13 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-07-22 13:11:13 +0000 |
commit | 744387f3cae9a381c87a23efab49a10b8ba7fce4 (patch) | |
tree | ded7036769863998b233702ebf6d1312e36c0c69 /epan/dissectors/packet-x509if.c | |
parent | f42a958398daccf62c08ee0836b68fda1c33998b (diff) |
add the countryname attribute
svn path=/trunk/; revision=11470
Diffstat (limited to 'epan/dissectors/packet-x509if.c')
-rw-r--r-- | epan/dissectors/packet-x509if.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-x509if.c b/epan/dissectors/packet-x509if.c index 6c372f462d..118503ac41 100644 --- a/epan/dissectors/packet-x509if.c +++ b/epan/dissectors/packet-x509if.c @@ -114,9 +114,16 @@ dissect_hf_x509if_ATADV_attribute_id(packet_info *pinfo, proto_tree *tree, tvbuf hf_x509if_ATADV_attribute_id, ATADV_attribute_id); return offset; } +static int +dissect_hf_x509if_ATADV_attribute_value(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) +{ + offset=call_ber_oid_callback(ATADV_attribute_id, tvb, offset, pinfo, tree); + return offset; +} static ber_sequence AttributeTypeAndDistinguishedValue_sequence[] = { { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_hf_x509if_ATADV_attribute_id }, + { BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_hf_x509if_ATADV_attribute_value }, /*XXX missing stuff here */ { 0, 0, 0, NULL } }; |