aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cms
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/cms')
-rw-r--r--asn1/cms/cms.cnf2
-rw-r--r--asn1/cms/packet-cms-template.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/asn1/cms/cms.cnf b/asn1/cms/cms.cnf
index 6bbdf60e63..ece91a13a7 100644
--- a/asn1/cms/cms.cnf
+++ b/asn1/cms/cms.cnf
@@ -31,7 +31,7 @@ SignerInfos
SignatureValue
UnsignedAttributes
-#.REGISTER
+#.REGISTER_NEW
ContentInfo B "1.2.840.113549.1.9.16.1.6" "id-ct-contentInfo"
#OctetString B "1.2.840.113549.1.7.1" "id-data" see x509sat.cnf
SignedData B "1.2.840.113549.1.7.2" "id-signedData"
diff --git a/asn1/cms/packet-cms-template.c b/asn1/cms/packet-cms-template.c
index b0afc8e898..7e3aba57a4 100644
--- a/asn1/cms/packet-cms-template.c
+++ b/asn1/cms/packet-cms-template.c
@@ -160,8 +160,8 @@ void proto_register_cms(void) {
proto_register_field_array(proto_cms, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
- register_ber_syntax_dissector("ContentInfo", proto_cms, dissect_ContentInfo_PDU);
- register_ber_syntax_dissector("SignedData", proto_cms, dissect_SignedData_PDU);
+ new_register_ber_syntax_dissector("ContentInfo", proto_cms, dissect_ContentInfo_PDU);
+ new_register_ber_syntax_dissector("SignedData", proto_cms, dissect_SignedData_PDU);
register_ber_oid_syntax(".p7s", NULL, "ContentInfo");
register_ber_oid_syntax(".p7m", NULL, "ContentInfo");
register_ber_oid_syntax(".p7c", NULL, "ContentInfo");