diff options
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/cms/packet-cms-template.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asn1/cms/packet-cms-template.c b/asn1/cms/packet-cms-template.c index 7e3aba57a4..29b4ac040b 100644 --- a/asn1/cms/packet-cms-template.c +++ b/asn1/cms/packet-cms-template.c @@ -172,11 +172,15 @@ void proto_register_cms(void) { /*--- proto_reg_handoff_cms -------------------------------------------*/ void proto_reg_handoff_cms(void) { + dissector_handle_t content_info_handle; #include "packet-cms-dis-tab.c" oid_add_from_string("id-data","1.2.840.113549.1.7.1"); oid_add_from_string("id-alg-des-ede3-cbc","1.2.840.113549.3.7"); oid_add_from_string("id-alg-des-cbc","1.3.14.3.2.7"); + content_info_handle = new_create_dissector_handle (dissect_ContentInfo_PDU, proto_cms); + dissector_add_string("media_type", "application/pkcs7-mime", content_info_handle); + dissector_add_string("media_type", "application/pkcs7-signature", content_info_handle); } |