aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x509ce
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2006-09-30 14:37:09 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2006-09-30 14:37:09 +0000
commit23937f82c789bd319755801642c154ba0c61d19f (patch)
tree3ad573d612af222181b20d12c872834b8d10d3a1 /asn1/x509ce
parent3da46255fe9dddfad518329fc9e9a33227f8ec2f (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. svn path=/trunk/; revision=19383
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