aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pkinit.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-10-11 18:36:51 +0000
committerGuy Harris <guy@alum.mit.edu>2004-10-11 18:36:51 +0000
commit45d05ca95e7f8e935a06ed93b67c05bd8240ac9f (patch)
tree9c39b6eb5dbf9b871b178d8740bc66dbf6278c45 /epan/dissectors/packet-pkinit.c
parentf0b50fb262f19dd7125acb529854c9775fec44dc (diff)
Re-generate a number of ASN.1-based dissectors with the most recent
version of asn2eth. svn path=/trunk/; revision=12267
Diffstat (limited to 'epan/dissectors/packet-pkinit.c')
-rw-r--r--epan/dissectors/packet-pkinit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-pkinit.c b/epan/dissectors/packet-pkinit.c
index c807c89ed3..750283a46b 100644
--- a/epan/dissectors/packet-pkinit.c
+++ b/epan/dissectors/packet-pkinit.c
@@ -8,7 +8,7 @@
/* packet-pkinit.c
* Routines for PKINIT packet dissection
*
- * $Id: packet-pkinit-template.c,v 1.2 2004/05/25 21:07:43 guy Exp $
+ * $Id: packet-pkinit-template.c 12203 2004-10-05 09:18:55Z guy $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -110,7 +110,7 @@ static const value_string TrustedCA_vals[] = {
{ 0, NULL }
};
-static ber_choice TrustedCA_choice[] = {
+static const ber_choice TrustedCA_choice[] = {
{ 0, BER_CLASS_CON, 0, 0, dissect_caName },
{ 2, BER_CLASS_CON, 2, 0, dissect_issuerAndSerial },
{ 0, 0, 0, 0, NULL }
@@ -127,7 +127,7 @@ static int dissect_trustedCertifiers_item(packet_info *pinfo, proto_tree *tree,
return dissect_pkinit_TrustedCA(FALSE, tvb, offset, pinfo, tree, hf_pkinit_trustedCertifiers_item);
}
-static ber_sequence SEQUNCE_OF_TrustedCA_sequence_of[1] = {
+static const ber_sequence SEQUNCE_OF_TrustedCA_sequence_of[1] = {
{ BER_CLASS_CON, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_trustedCertifiers_item },
};
@@ -142,7 +142,7 @@ static int dissect_trustedCertifiers(packet_info *pinfo, proto_tree *tree, tvbuf
return dissect_pkinit_SEQUNCE_OF_TrustedCA(FALSE, tvb, offset, pinfo, tree, hf_pkinit_trustedCertifiers);
}
-static ber_sequence PaPkAsReq_sequence[] = {
+static const ber_sequence PaPkAsReq_sequence[] = {
{ BER_CLASS_CON, 0, 0, dissect_signedAuthPack },
{ BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_trustedCertifiers },
{ BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_kdcCert },
@@ -164,7 +164,7 @@ static const value_string PaPkAsRep_vals[] = {
{ 0, NULL }
};
-static ber_choice PaPkAsRep_choice[] = {
+static const ber_choice PaPkAsRep_choice[] = {
{ 0, BER_CLASS_CON, 0, 0, dissect_dhSignedData },
{ 1, BER_CLASS_CON, 1, 0, dissect_encKeyPack },
{ 0, 0, 0, 0, NULL }
@@ -212,7 +212,7 @@ void proto_register_pkinit(void) {
FT_UINT32, BASE_DEC, NULL, 0,
"PaPkAsReq/trustedCertifiers", HFILL }},
{ &hf_pkinit_trustedCertifiers_item,
- { "Item[##]", "pkinit.trustedCertifiers_item",
+ { "Item", "pkinit.trustedCertifiers_item",
FT_UINT32, BASE_DEC, VALS(TrustedCA_vals), 0,
"PaPkAsReq/trustedCertifiers/_item", HFILL }},
{ &hf_pkinit_kdcCert,