aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x509ce
diff options
context:
space:
mode:
authorgal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>2006-09-30 14:37:09 +0000
committergal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>2006-09-30 14:37:09 +0000
commit9e6ac7679e6943456f72a9bc36b5516f5f5170bd (patch)
tree3ad573d612af222181b20d12c872834b8d10d3a1 /asn1/x509ce
parent0302c1941fbc7e3aef1e9884a47a2a883bccb8d5 (diff)
A new field information flag, FI_URL, to indicate a field contains a URL.
This is used to display the field underlined and to allow the user to double-click on it (like FT_FRAMENUM) to open the URL in the configured browser. Example usage in the x509ce and logotype certificate extensions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19383 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/x509ce')
-rw-r--r--asn1/x509ce/x509ce-exp.cnf2
-rw-r--r--asn1/x509ce/x509ce.cnf4
2 files changed, 5 insertions, 1 deletions
diff --git a/asn1/x509ce/x509ce-exp.cnf b/asn1/x509ce/x509ce-exp.cnf
index c278497151..147a278d18 100644
--- a/asn1/x509ce/x509ce-exp.cnf
+++ b/asn1/x509ce/x509ce-exp.cnf
@@ -1,6 +1,6 @@
# Do not modify this file.
# It is created automatically by the ASN.1 to Wireshark dissector compiler
-# .\x509ce-exp.cnf
+# ./x509ce-exp.cnf
# ../../tools/asn2wrs.py -b -e -p x509ce -c x509ce.cnf -s packet-x509ce-template CertificateExtensions.asn
#.MODULE
diff --git a/asn1/x509ce/x509ce.cnf b/asn1/x509ce/x509ce.cnf
index 50fe50b073..09ef2ecbf6 100644
--- a/asn1/x509ce/x509ce.cnf
+++ b/asn1/x509ce/x509ce.cnf
@@ -119,6 +119,10 @@ CertificatePairExactAssertion/issuedByThisCAAssertion cpea_issuedByThisCAAsserti
#.FN_BODY OtherNameValue
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
+#.FN_FTR IA5String
+ if(hf_index == hf_x509ce_uniformResourceIdentifier)
+ PROTO_ITEM_SET_URL(get_ber_last_created_item());
+
#.END