diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-22 13:11:13 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-22 13:11:13 +0000 |
commit | 31b7cc109c8c65d7b961c838ce2fd648cf9b63a8 (patch) | |
tree | ded7036769863998b233702ebf6d1312e36c0c69 /epan/dissectors/packet-x509if.c | |
parent | a1473e889fafdb91d9d45a52224102789fd9993b (diff) |
add the countryname attribute
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11470 f5534014-38df-0310-8fa8-9805f1628bb7
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 } }; |