diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-10-27 11:54:55 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-10-27 11:54:55 +0000 |
commit | 6284b87f83ad4481edce58d38c801522ca99a6f8 (patch) | |
tree | c9b6bfd05e487c165e5dc3d422efa4361dabdfd3 /epan/dissectors/packet-crmf.c | |
parent | 9db5342638c5e4798ab8a8ab68709c4d4f724d74 (diff) |
register 1.2.840.113533.7.66.13 as passwordbasedmac from CRMF
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16344 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-crmf.c')
-rw-r--r-- | epan/dissectors/packet-crmf.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/epan/dissectors/packet-crmf.c b/epan/dissectors/packet-crmf.c index cceeccb7b3..01d2ba8dcf 100644 --- a/epan/dissectors/packet-crmf.c +++ b/epan/dissectors/packet-crmf.c @@ -57,6 +57,7 @@ static int hf_crmf_type_oid = -1; /*--- Included file: packet-crmf-hf.c ---*/ +static int hf_crmf_PBMParameter_PDU = -1; /* PBMParameter */ static int hf_crmf_utcTime = -1; /* UTCTime */ static int hf_crmf_generalTime = -1; /* GeneralizedTime */ static int hf_crmf_CertReqMessages_item = -1; /* CertReqMsg */ @@ -992,6 +993,12 @@ dissect_crmf_CertReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packe return offset; } +/*--- PDUs ---*/ + +static void dissect_PBMParameter_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { + dissect_crmf_PBMParameter(FALSE, tvb, 0, pinfo, tree, hf_crmf_PBMParameter_PDU); +} + /*--- End of included file: packet-crmf-fn.c ---*/ @@ -1009,6 +1016,10 @@ void proto_register_crmf(void) { /*--- Included file: packet-crmf-hfarr.c ---*/ + { &hf_crmf_PBMParameter_PDU, + { "PBMParameter", "crmf.PBMParameter", + FT_NONE, BASE_NONE, NULL, 0, + "PBMParameter", HFILL }}, { &hf_crmf_utcTime, { "utcTime", "crmf.utcTime", FT_STRING, BASE_NONE, NULL, 0, @@ -1303,6 +1314,13 @@ void proto_register_crmf(void) { /*--- proto_reg_handoff_crmf -------------------------------------------*/ void proto_reg_handoff_crmf(void) { -/*#include "packet-crmf-dis-tab.c"*/ + +/*--- Included file: packet-crmf-dis-tab.c ---*/ + + register_ber_oid_dissector("1.2.840.113533.7.66.13", dissect_PBMParameter_PDU, proto_crmf, "PasswordBasedMac"); + + +/*--- End of included file: packet-crmf-dis-tab.c ---*/ + } |